Enum usb_util::StandardControlRequest
source · pub enum StandardControlRequest {
GetStatus = 0,
ClearFeature = 1,
SetFeature = 3,
SetAddress = 5,
GetDescriptor = 6,
SetDescriptor = 7,
GetConfiguration = 8,
SetConfiguration = 9,
GetInterface = 10,
SetInterface = 11,
SynchFrame = 12,
}
Expand description
Standard request defined in usb spec.
Variants§
GetStatus = 0
ClearFeature = 1
SetFeature = 3
SetAddress = 5
GetDescriptor = 6
SetDescriptor = 7
GetConfiguration = 8
SetConfiguration = 9
GetInterface = 10
SetInterface = 11
SynchFrame = 12
Trait Implementations§
source§impl PartialEq for StandardControlRequest
impl PartialEq for StandardControlRequest
source§fn eq(&self, other: &StandardControlRequest) -> bool
fn eq(&self, other: &StandardControlRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StandardControlRequest
impl StructuralPartialEq for StandardControlRequest
Auto Trait Implementations§
impl RefUnwindSafe for StandardControlRequest
impl Send for StandardControlRequest
impl Sync for StandardControlRequest
impl Unpin for StandardControlRequest
impl UnwindSafe for StandardControlRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more