pub enum DiscoveryOption {
NoDevice,
Collision,
Found(UniqueIdentifier),
}
Variants§
NoDevice
No device responded to the discovery request. There aren’t any devices in the specified unique id range.
Collision
The response to the discovery request couldn’t be deserialized. There are multiple devices in the specified unique id range.
Found(UniqueIdentifier)
The discovery response was successfully deserialized. There is only one device in the specified unique id range.
Trait Implementations§
Source§impl Clone for DiscoveryOption
impl Clone for DiscoveryOption
Source§fn clone(&self) -> DiscoveryOption
fn clone(&self) -> DiscoveryOption
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 DiscoveryOption
impl Debug for DiscoveryOption
Source§impl PartialEq for DiscoveryOption
impl PartialEq for DiscoveryOption
impl Copy for DiscoveryOption
impl Eq for DiscoveryOption
impl StructuralPartialEq for DiscoveryOption
Auto Trait Implementations§
impl Freeze for DiscoveryOption
impl RefUnwindSafe for DiscoveryOption
impl Send for DiscoveryOption
impl Sync for DiscoveryOption
impl Unpin for DiscoveryOption
impl UnwindSafe for DiscoveryOption
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