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<TransferType> for TransferType
impl PartialEq<TransferType> 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 ==
.