Struct Stat
#[repr(transparent)]pub struct Stat(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Stat
impl Stat
pub const DISABLED: Self
pub const DISABLED: Self
all requests addressed to this endpoint are ignored
pub const STALL: Self
pub const STALL: Self
the endpoint is stalled and all requests result in a STALL handshake
pub const NAK: Self
pub const NAK: Self
the endpoint is naked and all requests result in a NAK handshake
pub const VALID: Self
pub const VALID: Self
this endpoint is enabled, requests are ACKed
Trait Implementations§
§impl Ord for Stat
impl Ord for Stat
§impl PartialOrd for Stat
impl PartialOrd for Stat
impl Copy for Stat
impl Eq 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 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