Expand description
Virtio queue API for backend device drivers to access virtio queues.
Modules§
Structs§
- Avail
Iter - Consuming iterator over all available descriptor chain heads in the queue.
- Descriptor
Chain - A virtio descriptor chain.
- Descriptor
Chain RwIter - An iterator for readable or writable descriptors.
- Queue
- Struct to maintain information and manipulate a virtio queue.
- Queue
State - Representation of the
Queue
state. - Queue
Sync - 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§
- Queue
Guard - Trait for objects returned by
QueueT::lock()
. - Queue
OwnedT - 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.