pub enum SetFeature {
DeviceRemoteWakeup,
EndpointHalt(Endpoint),
TestMode(Test),
}Expand description
SET_FEATURE feature selector
See table 9-6 of (USB2)
Variants§
DeviceRemoteWakeup
Enables the device remote wake-up feature
EndpointHalt(Endpoint)
Halts the specified endpoint
TestMode(Test)
Enables the specified test mode
Trait Implementations§
Source§impl Clone for SetFeature
impl Clone for SetFeature
Source§fn clone(&self) -> SetFeature
fn clone(&self) -> SetFeature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetFeature
impl Debug for SetFeature
Source§impl PartialEq for SetFeature
impl PartialEq for SetFeature
impl Copy for SetFeature
impl StructuralPartialEq for SetFeature
Auto Trait Implementations§
impl Freeze for SetFeature
impl RefUnwindSafe for SetFeature
impl Send for SetFeature
impl Sync for SetFeature
impl Unpin for SetFeature
impl UnwindSafe for SetFeature
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