Enum libusb::RequestType [−][src]
pub enum RequestType {
Standard,
Class,
Vendor,
Reserved,
}Types of control transfers.
Variants
StandardRequests that are defined by the USB standard.
ClassRequests that are defined by a device class, e.g., HID.
VendorVendor-specific requests.
ReservedReserved for future use.
Trait Implementations
impl Debug for RequestType[src]
impl Debug for RequestTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for RequestType[src]
impl PartialEq for RequestTypefn eq(&self, other: &RequestType) -> bool[src]
fn eq(&self, other: &RequestType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for RequestType[src]
impl Eq for RequestTypeimpl Clone for RequestType[src]
impl Clone for RequestTypefn clone(&self) -> RequestType[src]
fn clone(&self) -> RequestTypeReturns 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 RequestTypeimpl Hash for RequestType[src]
impl Hash for RequestTypeAuto Trait Implementations
impl Send for RequestType
impl Send for RequestTypeimpl Sync for RequestType
impl Sync for RequestType