pub fn decode_from_std_read<'r, D: DeserializeOwned, C: Config, R: Read>(
src: &'r mut R,
config: C,
) -> Result<D, DecodeError>Expand description
Decode type D from the given reader with the given Config. The reader can be any type that implements std::io::Read, e.g. std::fs::File.
See the config module for more information about config options.