Trait FnUsingReader

Source
pub trait FnUsingReader {
    type Output;

    // Required method
    fn call<R: Read>(self, reader: Reader<R>) -> Result<Self::Output, Error>;
}
Expand description

Defines a function which depends on a specific Read instance.

Required Associated Types§

Required Methods§

Source

fn call<R: Read>(self, reader: Reader<R>) -> Result<Self::Output, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§