pub enum DiscoverySource {
Mdns,
Broadcast,
Rendezvous,
Manual,
}Expand description
Discovery source (where the device was discovered from)
Variants§
Mdns
mDNS/Bonjour (LAN)
Broadcast
UDP broadcast (LAN)
Rendezvous
Rendezvous server (WAN)
Manual
Manually added
Trait Implementations§
Source§impl Clone for DiscoverySource
impl Clone for DiscoverySource
Source§fn clone(&self) -> DiscoverySource
fn clone(&self) -> DiscoverySource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiscoverySource
impl Debug for DiscoverySource
Source§impl PartialEq for DiscoverySource
impl PartialEq for DiscoverySource
impl Copy for DiscoverySource
impl Eq for DiscoverySource
impl StructuralPartialEq for DiscoverySource
Auto Trait Implementations§
impl Freeze for DiscoverySource
impl RefUnwindSafe for DiscoverySource
impl Send for DiscoverySource
impl Sync for DiscoverySource
impl Unpin for DiscoverySource
impl UnsafeUnpin for DiscoverySource
impl UnwindSafe for DiscoverySource
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