Skip to main content

to_vec

Function to_vec 

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

Encode the specified struct into a [u8] buffer