Module bytes

Module bytes 

Source
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.
SharedBytesAllocationController
Allocation controller backed by bytes::Bytes for zero-copy access.

Enums§

AllocationError
Errors that may occur during memory allocation operations.
AllocationProperty
The kind of allocation behind the Bytes type.
SplitError
Error when splitting an allocation.

Traits§

AllocationController
Defines how an [Allocation] can be controlled.