pub enum TransferType {
Control,
Isochronous {
sync: SyncType,
usage: UsageType,
},
Bulk,
Interrupt,
}Expand description
Endpoint transfer type.
Variants§
Trait Implementations§
Source§impl Clone for TransferType
impl Clone for TransferType
Source§fn clone(&self) -> TransferType
fn clone(&self) -> TransferType
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 TransferType
impl Debug for TransferType
Source§impl Hash for TransferType
impl Hash for TransferType
Source§impl Ord for TransferType
impl Ord for TransferType
Source§fn cmp(&self, other: &TransferType) -> Ordering
fn cmp(&self, other: &TransferType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransferType
impl PartialEq for TransferType
Source§impl PartialOrd for TransferType
impl PartialOrd for TransferType
impl Copy for TransferType
impl Eq for TransferType
impl StructuralPartialEq for TransferType
Auto Trait Implementations§
impl Freeze for TransferType
impl RefUnwindSafe for TransferType
impl Send for TransferType
impl Sync for TransferType
impl Unpin for TransferType
impl UnsafeUnpin for TransferType
impl UnwindSafe for TransferType
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