#[repr(u8)]pub enum GrxstsrPktsts {
Show 16 variants
_RESERVED_0 = 0,
OUTNAK = 1,
INOUTDPRX = 2,
INOUTTRCOM = 3,
DSETUPCOM = 4,
DTTOG = 5,
DSETUPRX = 6,
CHHALT = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
_RESERVED_0 = 0
OUTNAK = 1
Global OUT NAK in device mode (triggers an interrupt)
INOUTDPRX = 2
IN data packet received in host mode and OUT data packet received in device mode
INOUTTRCOM = 3
IN or OUT transfer completed in both host and device mode (triggers an interrupt)
DSETUPCOM = 4
SETUP transaction completed in device mode (triggers an interrupt)
DTTOG = 5
Data toggle error (triggers an interrupt) in host mode
DSETUPRX = 6
SETUP data packet received in device mode
CHHALT = 7
Channel halted in host mode (triggers an interrupt)
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl GrxstsrPktsts
impl GrxstsrPktsts
Trait Implementations§
Source§impl Clone for GrxstsrPktsts
impl Clone for GrxstsrPktsts
Source§fn clone(&self) -> GrxstsrPktsts
fn clone(&self) -> GrxstsrPktsts
Returns a copy 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 GrxstsrPktsts
impl Debug for GrxstsrPktsts
Source§impl From<GrxstsrPktsts> for u8
impl From<GrxstsrPktsts> for u8
Source§fn from(val: GrxstsrPktsts) -> u8
fn from(val: GrxstsrPktsts) -> u8
Converts to this type from the input type.
Source§impl From<u8> for GrxstsrPktsts
impl From<u8> for GrxstsrPktsts
Source§fn from(val: u8) -> GrxstsrPktsts
fn from(val: u8) -> GrxstsrPktsts
Converts to this type from the input type.
Source§impl Ord for GrxstsrPktsts
impl Ord for GrxstsrPktsts
Source§fn cmp(&self, other: &GrxstsrPktsts) -> Ordering
fn cmp(&self, other: &GrxstsrPktsts) -> 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 GrxstsrPktsts
impl PartialEq for GrxstsrPktsts
Source§impl PartialOrd for GrxstsrPktsts
impl PartialOrd for GrxstsrPktsts
impl Copy for GrxstsrPktsts
impl Eq for GrxstsrPktsts
impl StructuralPartialEq for GrxstsrPktsts
Auto Trait Implementations§
impl Freeze for GrxstsrPktsts
impl RefUnwindSafe for GrxstsrPktsts
impl Send for GrxstsrPktsts
impl Sync for GrxstsrPktsts
impl Unpin for GrxstsrPktsts
impl UnwindSafe for GrxstsrPktsts
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)