[][src]Crate versionize

Provides version tolerant serialization and deserialization facilities and implements a persistent storage format for Firecracker state snapshots. The Versionize trait defines a generic interface that serializable state structures need to implement.

VersionMap exposes an API that maps the individual structure versions to a root version (see above: the data version for example). This mapping is required both when serializing or deserializing structures as we need to know which version of structure to serialize for a given target **data version

Re-exports

pub use version_map::VersionMap;

Modules

crc

Implements readers and writers that compute a CRC64 checksum on the bytes read/written.

primitives

Serialization support for primitive data types.

version_map

Maps struct/enum/union versions to a sequence of root versions. This is required to support the concept of a snapshot version composed of individually versioned components.

Enums

VersionizeError

Versioned serialization error definitions.

Traits

Versionize

Trait that provides an interface for version aware serialization and deserialization.

Type Definitions

VersionizeResult

Versioned serialization/deserialization result.