Enum usb2::SetFeature[][src]

pub enum SetFeature {
    DeviceRemoteWakeup,
    EndpointHalt(Endpoint),
    TestMode(Test),
}

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

impl Clone for SetFeature[src]

impl Copy for SetFeature[src]

impl Debug for SetFeature[src]

impl PartialEq<SetFeature> for SetFeature[src]

impl StructuralPartialEq for SetFeature[src]

Auto Trait Implementations

impl Send for SetFeature

impl Sync for SetFeature

impl Unpin for SetFeature

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.