Enum flipper0::ffi::_usbd_respond
source · #[non_exhaustive]
pub enum _usbd_respond {
usbd_fail,
usbd_ack,
usbd_nak,
}
Expand description
\brief Reporting status results.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
usbd_fail
<\brief Function has an error, STALLPID will be issued.
usbd_ack
<\brief Function completes request accepted ZLP or data will be send.
usbd_nak
<\brief Function is busy. NAK handshake.
Trait Implementations
sourceimpl Clone for _usbd_respond
impl Clone for _usbd_respond
sourcefn clone(&self) -> _usbd_respond
fn clone(&self) -> _usbd_respond
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for _usbd_respond
impl Debug for _usbd_respond
sourceimpl Hash for _usbd_respond
impl Hash for _usbd_respond
sourceimpl PartialEq<_usbd_respond> for _usbd_respond
impl PartialEq<_usbd_respond> for _usbd_respond
sourcefn eq(&self, other: &_usbd_respond) -> bool
fn eq(&self, other: &_usbd_respond) -> bool
impl Eq for _usbd_respond
impl StructuralEq for _usbd_respond
impl StructuralPartialEq for _usbd_respond
Auto Trait Implementations
impl RefUnwindSafe for _usbd_respond
impl Send for _usbd_respond
impl Sync for _usbd_respond
impl Unpin for _usbd_respond
impl UnwindSafe for _usbd_respond
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more