Available on crate feature
serde only.Expand description
Utilities module to manipulate bytes.
Structs§
- Bytes
- A buffer similar to
Box<[u8]>that supports custom memory alignment and allows trailing uninitialized bytes. - Shared
Bytes Allocation Controller - Allocation controller backed by
bytes::Bytesfor zero-copy access.
Enums§
- Allocation
Error - Errors that may occur during memory allocation operations.
- Allocation
Property - The kind of allocation behind the Bytes type.
- Split
Error - Error when splitting an allocation.
Traits§
- Allocation
Controller - Defines how an [Allocation] can be controlled.