pub enum AdapterState {
Ready,
PoweredOff,
Denied,
Unavailable,
}Variants§
Trait Implementations§
Source§impl Clone for AdapterState
impl Clone for AdapterState
impl Copy for AdapterState
Source§impl Debug for AdapterState
impl Debug for AdapterState
Source§impl<'de> Deserialize<'de> for AdapterState
impl<'de> Deserialize<'de> for AdapterState
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
impl Eq for AdapterState
Source§impl PartialEq for AdapterState
impl PartialEq for AdapterState
Source§impl Serialize for AdapterState
impl Serialize for AdapterState
impl StructuralPartialEq for AdapterState
Auto Trait Implementations§
impl Freeze for AdapterState
impl RefUnwindSafe for AdapterState
impl Send for AdapterState
impl Sync for AdapterState
impl Unpin for AdapterState
impl UnsafeUnpin for AdapterState
impl UnwindSafe for AdapterState
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