to_bytes

Function to_bytes 

Source
pub fn to_bytes<T: Serialize>(value: &T) -> Result<Vec<u8>, Error>