from_reader_with_options

Function from_reader_with_options 

Source
pub fn from_reader_with_options<T: DeserializeOwned, R: Read>(
    reader: &mut R,
    options: &DecodeOptions,
) -> Result<T, Error>
Expand description

Deserialize a TOON-formatted reader to a value with options

§Arguments

  • reader - The reader to read from
  • options - Decoding options

§Returns

A Result containing the deserialized value or an error