Skip to main content

with_deserializer_from_reader_with_options

Function with_deserializer_from_reader_with_options 

Source
pub fn with_deserializer_from_reader_with_options<R, Out, F>(
    reader: R,
    options: Options,
    f: F,
) -> Result<Out, Error>
where for<'de, 'e> F: FnOnce(Deserializer<'de, 'e>) -> Result<Out, Error>, R: Read,
Expand description

Create a streaming crate::Deserializer for any std::io::Read with configurable Options and run a closure against it.