[−][src]Function rmp_serde::encode::to_vec_named
pub fn to_vec_named<T>(value: &T) -> Result<Vec<u8>, Error> where
T: Serialize, Serializes data structure into byte vector as a map Resulting MessagePack message will contain field names
Serialization can fail if T's implementation of Serialize decides to fail.