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