Function serde_cbor::ser::to_vec [] [src]

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

Serializes a value to a vector.