pub fn from_reader<T, R>(input: R) -> Result<T, Box<ErrorKind, Global>>where
    T: DeserializeOwned,
    R: BufRead,
Expand description

A helper function for decoding and decompressing data from a reader