pub enum DiscoveryImplementation {
Mdns,
Multicast,
}Expand description
Specifies the underlying implementation for service discovery.
Variants§
Mdns
mDNS/DNS-SD based service discovery.
Multicast
UDP multicast based service discovery (placeholder).
Trait Implementations§
Source§impl Clone for DiscoveryImplementation
impl Clone for DiscoveryImplementation
Source§fn clone(&self) -> DiscoveryImplementation
fn clone(&self) -> DiscoveryImplementation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiscoveryImplementation
Source§impl Debug for DiscoveryImplementation
impl Debug for DiscoveryImplementation
Source§impl PartialEq for DiscoveryImplementation
impl PartialEq for DiscoveryImplementation
Source§fn eq(&self, other: &DiscoveryImplementation) -> bool
fn eq(&self, other: &DiscoveryImplementation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiscoveryImplementation
Auto Trait Implementations§
impl Freeze for DiscoveryImplementation
impl RefUnwindSafe for DiscoveryImplementation
impl Send for DiscoveryImplementation
impl Sync for DiscoveryImplementation
impl Unpin for DiscoveryImplementation
impl UnsafeUnpin for DiscoveryImplementation
impl UnwindSafe for DiscoveryImplementation
Blanket Implementations§
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