pub enum Mdns {
Announce,
Lookup,
Off,
}Expand description
How an endpoint uses mDNS on the local network.
mDNS lets an endpoint id resolve on a network without internet access.
Variants§
Announce
Publishes this endpoint’s addresses and resolves others’.
Lookup
Resolves others without publishing this endpoint.
Off
Uses no mDNS at all.
Trait Implementations§
impl Copy for Mdns
impl Eq for Mdns
impl StructuralPartialEq for Mdns
Auto Trait Implementations§
impl Freeze for Mdns
impl RefUnwindSafe for Mdns
impl Send for Mdns
impl Sync for Mdns
impl Unpin for Mdns
impl UnsafeUnpin for Mdns
impl UnwindSafe for Mdns
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.