pub fn from_reader<R, T>(rdr: R) -> Result<T, SpannedError>where
R: Read,
T: DeserializeOwned,
Expand description
A convenience function for building a deserializer
and deserializing a value of type T
from a reader.
pub fn from_reader<R, T>(rdr: R) -> Result<T, SpannedError>where
R: Read,
T: DeserializeOwned,
A convenience function for building a deserializer
and deserializing a value of type T
from a reader.