[][src]Enum kernel::hil::usb::InResult

pub enum InResult {
    Packet(usize),
    Delay,
    Error,
}

Result for IN packets sent on bulk or interrupt endpoints.

Variants

Packet(usize)

A packet of the given size was written into the endpoint buffer

Delay

The client is not yet able to provide data to the host, but may be able to in the future. This result causes the controller to send a NAK token to the host.

Error

The client does not support the request. This result causes the controller to send a STALL token to the host.

Trait Implementations

impl Debug for InResult[src]

Auto Trait Implementations

impl Send for InResult

impl Sync for InResult

impl Unpin for InResult

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.