Module header

Source

Structs§

VersionedHeader
Headers with versions greater than 0.1 are serialized as VersionedHeader with the version field as EitherOrVersion. This ensures that the first field is deserialized as the EitherOrVersion::Version variant. This approach is necessary because serde_flatten() cannot be used with bincode, as bincode does not support the deserialize_any().

Enums§

EitherOrVersion 🔒
Enum to represent the first field of different versions of a header
Header
Each variant represents a specific minor version header.