Enum stm32_metapac::usb::vals::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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)