Function msgpack_tagged_serialize

Source
pub fn msgpack_tagged_serialize<T>(value: &T) -> Result<Vec<u8>>
Expand description

Build the tag registry from T::register_into, then serialize value through a Serializer into a freshly-allocated Vec<u8>. Uses the default EncodingStrategy::Tagged for all types. For strategy customization, build the registry and serializer directly and use the builder methods.