[−][src]Trait overlord::Codec
Trait for doing serialize and deserialize.
Required methods
fn encode(&self) -> Result<Bytes, Box<dyn Error + Send>>
Serialize self into bytes.
fn decode(data: Bytes) -> Result<Self, Box<dyn Error + Send>>
Deserialize date into self.