Enum Stat
#[repr(u8)]pub enum Stat {
Disabled = 0,
Stall = 1,
Nak = 2,
Valid = 3,
}Variants§
Disabled = 0
all requests addressed to this endpoint are ignored
Stall = 1
the endpoint is stalled and all requests result in a STALL handshake
Nak = 2
the endpoint is naked and all requests result in a NAK handshake
Valid = 3
this endpoint is enabled, requests are ACKed
Implementations§
Trait Implementations§
impl Copy for Stat
impl Eq for Stat
§impl Ord for Stat
impl Ord for Stat
1.21.0 (const: unstable) · 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
§impl PartialOrd for Stat
impl PartialOrd for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnsafeUnpin for Stat
impl UnwindSafe for Stat
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