Expand description
Serialization protocol for maps and sets.
The container writes a fixed sequence of fields through a Serializer and
reads them back through a Deserializer. The protocol defines the order
and logical type of each field. Binary layout, endianness, and float
representation are the caller’s responsibility, chosen by the serializer and
deserializer they supply.
Integer header fields are always u64 so a file written on one platform
can be read on another. The value type is serialized through
Serialize/Deserialize implementations.
Structs§
- Deserialize
Error - A deserialize failure. Carries a static reason.
Constants§
- SERIALIZATION_
PROTOCOL_ VERSION - The serialization protocol version. Bumped on any wire-format change.
Traits§
- Deserialize
- A value type that can be read from a
Deserializer. - Deserializer
- A source for the primitive field types the container reads back.
- Serialize
- A value type that can be written to a
Serializer. - Serializer
- A sink for the primitive field types the container emits.