Enum xhci::context::EndpointType[][src]

pub enum EndpointType {
    NotValid,
    IsochronousOut,
    BulkOut,
    InterruptOut,
    Control,
    IsochronousIn,
    BulkIn,
    InterruptIn,
}

Endpoint Type.

Examples

use xhci::context::{byte32::Device, DeviceHandler, EndpointType};

let mut device = Device::new();
let ep0 = device.endpoint0_mut();

ep0.set_endpoint_type(EndpointType::Control);

Variants

NotValid

Not Valid N/A

IsochronousOut

Isoch Out.

BulkOut

Bulk Out.

InterruptOut

Interrupt Out.

Control

Control Bidirectional.

IsochronousIn

Isoch In.

BulkIn

Bulk In.

InterruptIn

Interrupt In.

Trait Implementations

impl Clone for EndpointType[src]

impl Copy for EndpointType[src]

impl Debug for EndpointType[src]

impl Eq for EndpointType[src]

impl FromPrimitive for EndpointType[src]

impl Hash for EndpointType[src]

impl Ord for EndpointType[src]

impl PartialEq<EndpointType> for EndpointType[src]

impl PartialOrd<EndpointType> for EndpointType[src]

impl StructuralEq for EndpointType[src]

impl StructuralPartialEq for EndpointType[src]

Auto Trait Implementations

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.