[−][src]Module nine::ser
Serializers and serializer convenience functions.
Re-exports
pub use common::*; |
Structs
AccountingStructSerializer | A struct serializer that counts the byte size of everything serialized so far. |
CountingSequenceSerializer | A sequence serializer that counts how many items it gets and then prefixes with the 2-byte count. |
SerError | A wrapper for a |
SerializeError | A custom serialization error. |
WriteSerializer | A serializer that works with any type that implements |
Enums
SerFail | A failure at the serialization layer. |
Unimplemented | Stand-in code for types of serialization that will never happen because the types are unspecified. |
Constants
BYTES_LEN_MAX | The maximum possible length of a byte array in 9p. |
Traits
Serialize | A data structure that can be serialized into any data format supported by Serde. |
Functions
into_buf | Serializes the given item into the given buffer. |
into_bytes | Serialize the given object into a new vec buffer. |
into_vec | Serializes the given item into the given Vec. |
into_write_seeker | Serializes the given item into the given type that implements write and seek.
This is typically a file or a buffer ( |