pub trait BinarySerializable: Debug + Sized {
    fn serialize<W: Write>(&self, writer: &mut W) -> Result<()>;
    fn deserialize<R: Read>(reader: &mut R) -> Result<Self>;
}
Expand description

Trait for a simple binary serialization.

Required Methods

Serialize

Deserialize

Implementations on Foreign Types

Implementors