Expand description
Serializers that can be used standalone and provide basic capabilities.
Structs§
- Aligned
Serializer - A serializer made specifically to work with
AlignedVec
. - Alloc
Scratch - Scratch space that always uses the global allocator.
- Buffer
Scratch - Scratch space that allocates within a buffer.
- Buffer
Serializer - Wraps a byte buffer and equips it with
Serializer
. - Composite
Serializer - A serializer built from composeable pieces.
- Fallback
Scratch - Allocates scratch space with a main and backup scratch.
- Heap
Scratch - Fixed-size scratch space allocated on the heap.
- Scratch
Tracker - A passthrough scratch space allocator that tracks scratch space usage.
- Shared
Serialize Map - An adapter that adds shared serialization support to a serializer.
- Write
Serializer - Wraps a type that implements
io::Write
and equips it withSerializer
.
Enums§
- Alloc
Scratch Error - Errors that can occur when allocating with the global allocator.
- Buffer
Serializer Error - The error type returned by an
BufferSerializer
. - Composite
Serializer Error - The default serializer error.
- Fixed
Size Scratch Error - Errors that can occur when using a fixed-size allocator.
- Shared
Serialize MapError - An error that can occur while serializing shared pointers.
Type Aliases§
- Alloc
Serializer - A general-purpose serializer suitable for environments where allocations can be made.
- Core
Serializer - A serializer suitable for environments where allocations cannot be made.