serialize

Function serialize 

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