pub fn to_vec<T, const N: usize>( value: &T, cmd: &str, options: SerializeOptions<'_> ) -> Result<Vec<u8, N>>where T: Serialize + ?Sized,
Serializes the given data structure as a byte vector