Function serde_cbor::ser::to_vec_sd
[−]
[src]
pub fn to_vec_sd<T: Serialize>(value: &T) -> Result<Vec<u8>>
Encodes the specified struct into a Vec<u8>
with a leading self-describe tag.