Function decode_from_std_read_with_context

Source
pub fn decode_from_std_read_with_context<Context, D: Decode<Context>, C: Config, R: Read>(
    src: &mut R,
    config: C,
    context: Context,
) -> Result<D, DecodeError>
Available on crate feature std only.
Expand description

Decode type D from the given reader with the given Config and Context. 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.