Function serde_dbor::to_vec[][src]

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

Serialize the given data structure as a DBOR byte vector