Enum usb_host::TransferType
source · [−]pub enum TransferType {
Control,
Isochronous,
Bulk,
Interrupt,
}
Expand description
The type of transfer to use when talking to USB devices.
cf §9.6.6 of USB 2.0
Variants
Control
Isochronous
Bulk
Interrupt
Trait Implementations
sourceimpl Clone for TransferType
impl Clone for TransferType
sourcefn clone(&self) -> TransferType
fn clone(&self) -> TransferType
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 TransferType
impl Debug for TransferType
sourceimpl PartialEq<TransferType> for TransferType
impl PartialEq<TransferType> for TransferType
sourcefn eq(&self, other: &TransferType) -> bool
fn eq(&self, other: &TransferType) -> bool
impl Copy for TransferType
impl StructuralPartialEq for TransferType
Auto Trait Implementations
impl RefUnwindSafe for TransferType
impl Send for TransferType
impl Sync for TransferType
impl Unpin for TransferType
impl UnwindSafe for TransferType
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