pub enum ClearFeature {
DeviceRemoteWakeup,
EndpointHalt(Endpoint),
}Expand description
CLEAR_FEATURE feature selector
See table 9-6 of (USB2)
Variants§
DeviceRemoteWakeup
Disables the device remote wake-up feature
EndpointHalt(Endpoint)
“Unhalts” the specified endpoint
Trait Implementations§
Source§impl Clone for ClearFeature
impl Clone for ClearFeature
Source§fn clone(&self) -> ClearFeature
fn clone(&self) -> ClearFeature
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 ClearFeature
impl Debug for ClearFeature
Source§impl PartialEq for ClearFeature
impl PartialEq for ClearFeature
impl Copy for ClearFeature
impl StructuralPartialEq for ClearFeature
Auto Trait Implementations§
impl Freeze for ClearFeature
impl RefUnwindSafe for ClearFeature
impl Send for ClearFeature
impl Sync for ClearFeature
impl Unpin for ClearFeature
impl UnwindSafe for ClearFeature
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