pub trait InputReader<T: DeserializeOwned> {
type Properties;
// Required method
fn read(
source: &dyn InputSource,
properties: Self::Properties,
) -> Result<T, Error>;
}Required Associated Types§
type Properties
Required Methods§
fn read( source: &dyn InputSource, properties: Self::Properties, ) -> Result<T, 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.