Function read

Source
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.