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