Module scuttlebutt::serialization
source · Expand description
Serialization types for algebraic structures.
Structs§
- The error which occurs if the inputted value or bit pattern doesn’t correspond to an element.
- An element deserializer that uses the element’s [
Serializer::from_bytes
] method. - An element serializer that uses the element’s [
Serializer::to_bytes
] method.
Enums§
- An error with no inhabitants, for when an element cannot fail to deserialize.
Traits§
- Types that implement this trait have a canonical serialization and a fixed serialization size.
- A way to deserialize a sequence of elements.
- A way to serialize a sequence of elements.