serialize

Function serialize 

Source
pub fn serialize<T: Encodable + ?Sized>(data: &T) -> Vec<u8> 
Expand description

Encode an object into a vector