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 Hash for RequestType
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Copy 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
impl Eq 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 !=
.