Function tea_codec::deserialize
source · pub fn deserialize<T, B>(buf: B) -> Result<T>where
T: DeserializeOwned,
B: AsRef<[u8]>,Expand description
The standard function for de-serializing codec structs from a format suitable for message exchange between actor and host. Use of any other function to deserialize could result in breaking incompatibilities.