pub trait Serialize: Serial + Deserial { }
Expand description

The Serialize trait provides a means of writing structures into byte-sinks (Write) or reading structures from byte sources (Read).

Can be derived using #[derive(Serialized)] for most cases.

Implementors§

source§

impl<A> Serialize for Awhere
A: Deserial + Serial,

Generic instance deriving Serialize for any type that implements both Serial and Deserial.