pub enum UsbSpecificStatus {
ResendNotSupported,
StreamEndpointHalted,
PayloadSizeNotAligned,
EventEndpointHalted,
InvalidSiState,
}Variants§
ResendNotSupported
Resend command is not supported by USB device.
StreamEndpointHalted
Stream endpoint is halted when stream flag is set.
PayloadSizeNotAligned
Command that attempts to set payload size is invalid because of bad alignment.
EventEndpointHalted
Event endpoint is halted when event enable flag is set.
InvalidSiState
Command that attempts to enable stream is failed because streaming interface is invalid state.
Trait Implementations§
Source§impl Clone for UsbSpecificStatus
impl Clone for UsbSpecificStatus
Source§fn clone(&self) -> UsbSpecificStatus
fn clone(&self) -> UsbSpecificStatus
Returns a duplicate 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 UsbSpecificStatus
impl Debug for UsbSpecificStatus
Source§impl PartialEq for UsbSpecificStatus
impl PartialEq for UsbSpecificStatus
impl Copy for UsbSpecificStatus
impl Eq for UsbSpecificStatus
impl StructuralPartialEq for UsbSpecificStatus
Auto Trait Implementations§
impl Freeze for UsbSpecificStatus
impl RefUnwindSafe for UsbSpecificStatus
impl Send for UsbSpecificStatus
impl Sync for UsbSpecificStatus
impl Unpin for UsbSpecificStatus
impl UnwindSafe for UsbSpecificStatus
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