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