Expand description
Types for I/O buffers.
This module provides:
- buffer types that can be allocated with arbitrary alignment,
- references to buffers that more or less ensure the content is read only once (because it can change for buffers owned by VM guests),
- buffer vector types.
Macros§
- impl_
io_ 🔒vector - Implement most of both
IoVector
andIoVectorMut
.
Structs§
- IoBuffer
- Owned memory buffer.
- IoBuffer
Mut - Reference to any mutable memory buffer.
- IoBuffer
Ref - Reference to any immutable memory buffer.
- IoVector
- Vector of memory buffers.
- IoVector
Mut - Vector of memory buffers.
- Volatile
Slice Guard - Ensures an I/O vector’s validity when created from
[VolatileSlice]
.
Traits§
- IoBuffer
RefTrait 🔒 - Common functions for both
IoBufferRef
andIoBufferMut
. - IoVector
Trait 🔒 - Common functions for both
IoVector
andIoVectorMut
.