pub enum CtrlInResult {
    Packet(usizebool),
    Delay,
    Error,
}

Variants

Packet(usizebool)

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.