pub enum UsbTransferDirection {
In,
Out,
}Expand description
The direction that the USB transfer was going when it errored.
Directions are relative to whatever central SCSI struct is being used at the
time, either an ScsiBlockDevice or ScsiResponder.
Variants§
In
The USB transfer was from the other device to ourselves.
Out
The transfer was from ourselves to the other device.
Trait Implementations§
Source§impl Clone for UsbTransferDirection
impl Clone for UsbTransferDirection
Source§fn clone(&self) -> UsbTransferDirection
fn clone(&self) -> UsbTransferDirection
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 UsbTransferDirection
impl Debug for UsbTransferDirection
Source§impl Hash for UsbTransferDirection
impl Hash for UsbTransferDirection
Source§impl PartialEq for UsbTransferDirection
impl PartialEq for UsbTransferDirection
impl Copy for UsbTransferDirection
impl Eq for UsbTransferDirection
impl StructuralPartialEq for UsbTransferDirection
Auto Trait Implementations§
impl Freeze for UsbTransferDirection
impl RefUnwindSafe for UsbTransferDirection
impl Send for UsbTransferDirection
impl Sync for UsbTransferDirection
impl Unpin for UsbTransferDirection
impl UnwindSafe for UsbTransferDirection
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