[][src]Enum usb_device::endpoint::EndpointType

#[repr(u8)]
pub enum EndpointType {
    Control,
    Isochronous,
    Bulk,
    Interrupt,
}

USB endpoint transfer type. The values of this enum can be directly cast into u8 to get the transfer bmAttributes transfer type bits.

Variants

Control

Control endpoint. Used for device management. Only the host can initiate requests. Usually used only endpoint 0.

Isochronous

Isochronous endpoint. Used for time-critical unreliable data. Not implemented yet.

Bulk

Bulk endpoint. Used for large amounts of best-effort reliable data.

Interrupt

Interrupt endpoint. Used for small amounts of time-critical reliable data.

Trait Implementations

impl Debug for EndpointType[src]

impl PartialEq<EndpointType> for EndpointType[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for EndpointType[src]

impl Copy for EndpointType[src]

impl Clone for EndpointType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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