pub fn from_bytes<T: DeserializeOwned>(bytes: &[u8]) -> Result<T, Error>Expand description
Deserializes an instance of type T from a byte slice.
pub fn from_bytes<T: DeserializeOwned>(bytes: &[u8]) -> Result<T, Error>Deserializes an instance of type T from a byte slice.