Enum usb::libusb::libusb_transfer_type
[−]
[src]
#[repr(C)]pub enum libusb_transfer_type { LIBUSB_TRANSFER_TYPE_CONTROL, LIBUSB_TRANSFER_TYPE_ISOCHRONOUS, LIBUSB_TRANSFER_TYPE_BULK, LIBUSB_TRANSFER_TYPE_INTERRUPT, }
Variants
LIBUSB_TRANSFER_TYPE_CONTROL
Control endpoint
LIBUSB_TRANSFER_TYPE_ISOCHRONOUS
Isochronous endpoint
LIBUSB_TRANSFER_TYPE_BULK
Bulk endpoint
LIBUSB_TRANSFER_TYPE_INTERRUPT
Interrupt endpoint
Trait Implementations
impl Copy for libusb_transfer_type
[src]
impl Clone for libusb_transfer_type
[src]
fn clone(&self) -> libusb_transfer_type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for libusb_transfer_type
[src]
fn eq(&self, __arg_0: &libusb_transfer_type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.