Skip to main content

to_vec

Function to_vec 

Source
pub fn to_vec<T>(value: &T) -> Result<Vec<u8>>
where T: Serialize + ?Sized,
Expand description

Write serialization of value into byte vector.