Crate virtio_queue

Source
Expand description

Virtio queue API for backend device drivers to access virtio queues.

Modules§

defs
Virtio queue related constant definitions
desc
Descriptor types for virtio queue.

Structs§

AvailIter
Consuming iterator over all available descriptor chain heads in the queue.
DescriptorChain
A virtio descriptor chain.
DescriptorChainRwIter
An iterator for readable or writable descriptors.
Queue
Struct to maintain information and manipulate a virtio queue.
QueueState
Representation of the Queue state.
QueueSync
Struct to maintain information and manipulate state of a virtio queue for multi-threaded context.
Reader
Provides high-level interface over the sequence of memory regions defined by readable descriptors in the descriptor chain.
Writer
Provides high-level interface over the sequence of memory regions defined by writable descriptors in the descriptor chain.

Enums§

Error
Virtio Queue related errors.

Traits§

QueueGuard
Trait for objects returned by QueueT::lock().
QueueOwnedT
Trait to access and manipulate a Virtio queue that’s known to be exclusively accessed by a single execution thread.
QueueT
Trait to access and manipulate a virtio queue.