Skip to main content

to_vec

Function to_vec 

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

Serializes a value to MessagePack.

This uses the default SerializerConfig.