#[repr(u8)]pub enum WakeOnThis {
Show 16 variants
_RESERVED_0 = 0,
WAKE_ON_OUT_SETUP = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
WAKE_ON_SETUP_ONLY = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
_RESERVED_0 = 0
WAKE_ON_OUT_SETUP = 1
Wake up after receiving OUT or SETUP token packet.
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
WAKE_ON_SETUP_ONLY = 13
Wake up after receiving SETUP token packet. All other values are reserved.
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl WakeOnThis
impl WakeOnThis
Trait Implementations§
Source§impl Clone for WakeOnThis
impl Clone for WakeOnThis
Source§fn clone(&self) -> WakeOnThis
fn clone(&self) -> WakeOnThis
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 WakeOnThis
impl Debug for WakeOnThis
Source§impl From<WakeOnThis> for u8
impl From<WakeOnThis> for u8
Source§fn from(val: WakeOnThis) -> u8
fn from(val: WakeOnThis) -> u8
Converts to this type from the input type.
Source§impl From<u8> for WakeOnThis
impl From<u8> for WakeOnThis
Source§fn from(val: u8) -> WakeOnThis
fn from(val: u8) -> WakeOnThis
Converts to this type from the input type.
Source§impl Ord for WakeOnThis
impl Ord for WakeOnThis
Source§fn cmp(&self, other: &WakeOnThis) -> Ordering
fn cmp(&self, other: &WakeOnThis) -> 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 WakeOnThis
impl PartialEq for WakeOnThis
Source§impl PartialOrd for WakeOnThis
impl PartialOrd for WakeOnThis
impl Copy for WakeOnThis
impl Eq for WakeOnThis
impl StructuralPartialEq for WakeOnThis
Auto Trait Implementations§
impl Freeze for WakeOnThis
impl RefUnwindSafe for WakeOnThis
impl Send for WakeOnThis
impl Sync for WakeOnThis
impl Unpin for WakeOnThis
impl UnwindSafe for WakeOnThis
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