Function musli_descriptive::to_vec

source ·
pub fn to_vec<T>(value: &T) -> Result<Vec<u8>, Error>
where T: ?Sized + Encode<Binary>,
Available on crate feature alloc only.
Expand description

Encode the given value to a Vec using the DEFAULT configuration.