encode

Function encode 

Source
pub fn encode<T: Serialize>(value: &T) -> Result<Vec<u8>>
Expand description

Encode a value to a byte vector