pub struct LookupEndpoints {
pub listen: Vec<Endpoint>,
pub lookup: Option<Endpoint>,
pub refresh: Option<Endpoint>,
}Expand description
Endpoints the lookup service advertises and binds to.
Fields§
§listen: Vec<Endpoint>Data-plane listen addrs (advertised in PeerMsg.addrs).
lookup: Option<Endpoint>Local bind for the lookup listener (also advertised).
refresh: Option<Endpoint>UDP refresh addr to advertise (if any).
Auto Trait Implementations§
impl Freeze for LookupEndpoints
impl RefUnwindSafe for LookupEndpoints
impl Send for LookupEndpoints
impl Sync for LookupEndpoints
impl Unpin for LookupEndpoints
impl UnsafeUnpin for LookupEndpoints
impl UnwindSafe for LookupEndpoints
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more