Enum libusb::RequestType
[−]
[src]
pub enum RequestType { Standard, Class, Vendor, Reserved, }
Types of control transfers.
Variants
Standard
Requests that are defined by the USB standard.
Class
Requests that are defined by a device class, e.g., HID.
Vendor
Vendor-specific requests.
Reserved
Reserved for future use.
Trait Implementations
impl Debug for RequestType
[src]
impl PartialEq for RequestType
[src]
fn eq(&self, __arg_0: &RequestType) -> 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 !=
.
impl Eq for RequestType
[src]
impl Clone for RequestType
[src]
fn clone(&self) -> RequestType
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