Function htrpc::msgpack::deserialize
[−]
[src]
pub fn deserialize<'de, D, T>(deserializer: D) -> Result<T, D::Error> where
T: for<'a> Deserialize<'a>,
D: Deserializer<'de>,
Deserializes a MessagePack binary.
This function can be used as the value of the serde(deserialize_with)
attribute
(i.e., #[serde(deserialize_with = "htrpc::msgpack::deserialize")]
).