pub enum StandardRequest {
GetStatus {
recipient_index: u16,
},
ClearFeature {
feature: FeatureSelector,
recipient_index: u16,
},
SetFeature {
feature: FeatureSelector,
test_mode: u8,
recipient_index: u16,
},
SetAddress {
device_address: u16,
},
GetDescriptor {
descriptor_type: DescriptorType,
descriptor_index: u8,
lang_id: u16,
requested_length: u16,
},
SetDescriptor {
descriptor_type: DescriptorType,
descriptor_index: u8,
lang_id: u16,
descriptor_length: u16,
},
GetConfiguration,
SetConfiguration {
configuration_value: u8,
},
GetInterface {
interface: u16,
},
SetInterface,
SynchFrame,
}
Variants§
GetStatus
ClearFeature
SetFeature
SetAddress
GetDescriptor
SetDescriptor
GetConfiguration
SetConfiguration
GetInterface
SetInterface
SynchFrame
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StandardRequest
impl RefUnwindSafe for StandardRequest
impl Send for StandardRequest
impl Sync for StandardRequest
impl Unpin for StandardRequest
impl UnwindSafe for StandardRequest
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