pub fn read<R: BufRead, T: DeserializeOwned>(reader: R) -> Result<T, ReadError>
Expand description
Reads a line from the reader and deserializes it into a given type.
pub fn read<R: BufRead, T: DeserializeOwned>(reader: R) -> Result<T, ReadError>
Reads a line from the reader and deserializes it into a given type.