pub enum HotplugEvent {
Connected,
Disconnected,
}Expand description
A HID node appeared on or vanished from the OS device tree.
Variants§
Trait Implementations§
Source§impl Clone for HotplugEvent
impl Clone for HotplugEvent
Source§fn clone(&self) -> HotplugEvent
fn clone(&self) -> HotplugEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HotplugEvent
Source§impl Debug for HotplugEvent
impl Debug for HotplugEvent
impl Eq for HotplugEvent
Source§impl PartialEq for HotplugEvent
impl PartialEq for HotplugEvent
impl StructuralPartialEq for HotplugEvent
Auto Trait Implementations§
impl Freeze for HotplugEvent
impl RefUnwindSafe for HotplugEvent
impl Send for HotplugEvent
impl Sync for HotplugEvent
impl Unpin for HotplugEvent
impl UnsafeUnpin for HotplugEvent
impl UnwindSafe for HotplugEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.