Enum rusb::TransferType
source · pub enum TransferType {
Control,
Isochronous,
Bulk,
Interrupt,
}
Expand description
An endpoint’s transfer type.
Variants§
Control
Control endpoint.
Isochronous
Isochronous endpoint.
Bulk
Bulk endpoint.
Interrupt
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 Hash for TransferType
impl Hash for TransferType
source§impl PartialEq for TransferType
impl PartialEq for TransferType
source§fn eq(&self, other: &TransferType) -> bool
fn eq(&self, other: &TransferType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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