pub enum DevicePairState {
Unavailable,
ActiveDisconnected,
Unknown,
}Expand description
Indicates the state of a pair of devices.
Variants§
Indicates that this pair is unavailable because one of its components is unavailable.
ActiveDisconnected
Indicates that this pair is active but not connected.
Unknown
Indicates that this pair is in a state that is not (yet) recognized by this library.
Trait Implementations§
Source§impl Clone for DevicePairState
impl Clone for DevicePairState
Source§fn clone(&self) -> DevicePairState
fn clone(&self) -> DevicePairState
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 DevicePairState
impl Debug for DevicePairState
Source§impl<'de> Deserialize<'de> for DevicePairState
impl<'de> Deserialize<'de> for DevicePairState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DevicePairState
impl PartialEq for DevicePairState
impl Copy for DevicePairState
impl Eq for DevicePairState
impl StructuralPartialEq for DevicePairState
Auto Trait Implementations§
impl Freeze for DevicePairState
impl RefUnwindSafe for DevicePairState
impl Send for DevicePairState
impl Sync for DevicePairState
impl Unpin for DevicePairState
impl UnwindSafe for DevicePairState
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