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 Debug for RequestType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RequestType
[src]
impl PartialEq for RequestType
fn eq(&self, other: &RequestType) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for RequestType
[src]
impl Eq for RequestType
impl Clone for RequestType
[src]
impl Clone for RequestType
fn clone(&self) -> RequestType
[src]
fn clone(&self) -> RequestType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for RequestType
[src]
impl Copy for RequestType
impl Hash for RequestType
[src]
impl Hash for RequestType
Auto Trait Implementations
impl Send for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Sync for RequestType