pub struct VirtqueueCompletion<R> {
    pub idx: u16,
    pub req: R,
}
Expand description

The result of a completed request

Fields§

§idx: u16

The index of the first descriptor of the request as returned by add_request.

§req: R

Device-specific per-request data like the request header or status byte.

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.