pub fn cbor_serialize_bytes<T: ?Sized + Serialize, const N: usize>( object: &T, ) -> Result<Bytes<N>>
Serialize object into newly allocated Bytes.