pub enum TransferType {
Control(Duration),
Isochronous {
endpoint: u8,
packets: u32,
timeout: Duration,
},
Bulk {
endpoint: u8,
timeout: Duration,
},
Interrupt {
endpoint: u8,
timeout: Duration,
},
BulkStream {
endpoint: u8,
stream_id: u32,
timeout: Duration,
},
}
Variants§
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