Enum nrf52840_pac::usbd::halted::epout::GETSTATUS_A
source · #[repr(u16)]pub enum GETSTATUS_A {
NOT_HALTED = 0,
HALTED = 1,
}
Expand description
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for GETSTATUS_A
impl Clone for GETSTATUS_A
source§fn clone(&self) -> GETSTATUS_A
fn clone(&self) -> GETSTATUS_A
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 GETSTATUS_A
impl Debug for GETSTATUS_A
source§impl From<GETSTATUS_A> for u16
impl From<GETSTATUS_A> for u16
source§fn from(variant: GETSTATUS_A) -> Self
fn from(variant: GETSTATUS_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for GETSTATUS_A
impl PartialEq for GETSTATUS_A
impl Copy for GETSTATUS_A
impl StructuralPartialEq for GETSTATUS_A
Auto Trait Implementations§
impl Freeze for GETSTATUS_A
impl RefUnwindSafe for GETSTATUS_A
impl Send for GETSTATUS_A
impl Sync for GETSTATUS_A
impl Unpin for GETSTATUS_A
impl UnwindSafe for GETSTATUS_A
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
)