#[repr(u8)]pub enum Nzstsouthshk {
SENDOUT = 0,
SENDSTALL = 1,
}Variants§
SENDOUT = 0
Send the received OUT packet to the application (zero-length or non-zero length) and send a handshake based on NAK and STALL bits for the endpoint in the Devce Endpoint Control Register
SENDSTALL = 1
Send a STALL handshake on a nonzero-length status OUT transaction and do not send the received OUT packet to the application
Implementations§
Source§impl Nzstsouthshk
impl Nzstsouthshk
Trait Implementations§
Source§impl Clone for Nzstsouthshk
impl Clone for Nzstsouthshk
Source§fn clone(&self) -> Nzstsouthshk
fn clone(&self) -> Nzstsouthshk
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 Nzstsouthshk
impl Debug for Nzstsouthshk
Source§impl From<Nzstsouthshk> for u8
impl From<Nzstsouthshk> for u8
Source§fn from(val: Nzstsouthshk) -> u8
fn from(val: Nzstsouthshk) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Nzstsouthshk
impl From<u8> for Nzstsouthshk
Source§fn from(val: u8) -> Nzstsouthshk
fn from(val: u8) -> Nzstsouthshk
Converts to this type from the input type.
Source§impl Ord for Nzstsouthshk
impl Ord for Nzstsouthshk
Source§fn cmp(&self, other: &Nzstsouthshk) -> Ordering
fn cmp(&self, other: &Nzstsouthshk) -> 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 Nzstsouthshk
impl PartialEq for Nzstsouthshk
Source§impl PartialOrd for Nzstsouthshk
impl PartialOrd for Nzstsouthshk
impl Copy for Nzstsouthshk
impl Eq for Nzstsouthshk
impl StructuralPartialEq for Nzstsouthshk
Auto Trait Implementations§
impl Freeze for Nzstsouthshk
impl RefUnwindSafe for Nzstsouthshk
impl Send for Nzstsouthshk
impl Sync for Nzstsouthshk
impl Unpin for Nzstsouthshk
impl UnwindSafe for Nzstsouthshk
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)