pub fn from_reader<T, R>(reader: R) -> Result<T, Error>where
T: DeserializeOwned,
R: Read,Expand description
Convenience function that reads all bytes from reader and deserializes
them with from_bytes.
pub fn from_reader<T, R>(reader: R) -> Result<T, Error>where
T: DeserializeOwned,
R: Read,Convenience function that reads all bytes from reader and deserializes
them with from_bytes.