pub trait ReaderWithOptions<T>: Sealed + Sized {
type Error;
type Options;
// Required method
fn read(source: T, options: &Self::Options) -> Result<Self, Self::Error>;
}
Expand description
A trait that enables reading from various sources, with configuration options.
Required Associated Types§
Required Methods§
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.