pub enum AdapterEvent {
Available,
Unavailable,
}Expand description
Events generated by Adapter::events.
Variants§
Available
The adapter has become available (powered on and ready to use)
The adapter has become unavailable (powered off or otherwise disabled)
Trait Implementations§
Source§impl Clone for AdapterEvent
impl Clone for AdapterEvent
Source§fn clone(&self) -> AdapterEvent
fn clone(&self) -> AdapterEvent
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 AdapterEvent
impl Debug for AdapterEvent
Source§impl Hash for AdapterEvent
impl Hash for AdapterEvent
Source§impl Ord for AdapterEvent
impl Ord for AdapterEvent
Source§fn cmp(&self, other: &AdapterEvent) -> Ordering
fn cmp(&self, other: &AdapterEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AdapterEvent
impl PartialEq for AdapterEvent
Source§impl PartialOrd for AdapterEvent
impl PartialOrd for AdapterEvent
impl Copy for AdapterEvent
impl Eq for AdapterEvent
impl StructuralPartialEq for AdapterEvent
Auto Trait Implementations§
impl Freeze for AdapterEvent
impl RefUnwindSafe for AdapterEvent
impl Send for AdapterEvent
impl Sync for AdapterEvent
impl Unpin for AdapterEvent
impl UnsafeUnpin for AdapterEvent
impl UnwindSafe for AdapterEvent
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