Enum usb_util::TransferStatus
source · pub enum TransferStatus {
Completed,
Error,
Cancelled,
NoDevice,
Stalled,
}
Variants§
Trait Implementations§
source§impl Clone for TransferStatus
impl Clone for TransferStatus
source§fn clone(&self) -> TransferStatus
fn clone(&self) -> TransferStatus
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 PartialEq for TransferStatus
impl PartialEq for TransferStatus
source§fn eq(&self, other: &TransferStatus) -> bool
fn eq(&self, other: &TransferStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransferStatus
impl Eq for TransferStatus
impl StructuralPartialEq for TransferStatus
Auto Trait Implementations§
impl RefUnwindSafe for TransferStatus
impl Send for TransferStatus
impl Sync for TransferStatus
impl Unpin for TransferStatus
impl UnwindSafe for TransferStatus
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