pub struct CompQueue { /* private fields */ }
Expand description

Used to transfer ownership of Umem frames from kernel-space to user-space.

Frames received in this queue are those that have been sent via the TxQueue.

For more information see the docs.

Implementations

Update descs with details of frames whose contents have been sent (after submission via the TxQueue) and may now be used again. Returns the number of elements of descs which have been updated.

The number of entries updated will be less than or equal to the length of descs. Entries will be updated sequentially from the start of descs until the end.

Free frames should eventually be added back on to either the FillQueue or the TxQueue.

Safety

The frames passed to this queue must belong to the same Umem that this CompQueue instance is tied to.

Same as consume but for a single frame descriptor.

Safety

See consume.

Trait Implementations

Formats the value using the given formatter. Read more

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.