pub fn from_read<R, T>(rd: R) -> Result<T, Error> where
Deserialize an instance of type
T from an I/O stream of MessagePack.
This conversion can fail if the structure of the Value does not match the structure expected
T. It can also fail if the structure is correct but
T's implementation of
decides that something is wrong with the data, for example required struct fields are missing.