pub fn from_msgpack<T: DeserializeOwned>(
value: impl AsRef<[u8]>,
) -> StdResult<T>
Expand description
Deserializes the given MessagePack bytes to a data structure.
Errors if the input is not valid MessagePack or cannot be deserialized to the given type.