#[repr(u8)]pub enum TransferType {
Control = 0,
Isochronous = 1,
Bulk = 2,
Interrupt = 3,
}
Expand description
An endpoint’s transfer type.
Variants§
Control = 0
Control endpoint.
Isochronous = 1
Isochronous endpoint.
Bulk = 2
Bulk endpoint.
Interrupt = 3
Interrupt endpoint.
Trait Implementations§
Source§impl Clone for TransferType
impl Clone for TransferType
Source§fn clone(&self) -> TransferType
fn clone(&self) -> TransferType
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 Debug for TransferType
impl Debug for TransferType
Source§impl From<u8> for TransferType
impl From<u8> for TransferType
Source§impl Hash for TransferType
impl Hash for TransferType
Source§impl PartialEq for TransferType
impl PartialEq 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 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