Function to_binary

Source
pub fn to_binary<T: Serialize>(obj: &T) -> Vec<u8> 
Expand description

Transforms an object to bincoded bytes.