pub trait ImportAdapter {
type Source: ?Sized;
// Required method
fn import(&self, source: &Self::Source) -> ImportResult;
}Expand description
Maps one native source model into the format-independent application model.
Required Associated Types§
Required Methods§
Sourcefn import(&self, source: &Self::Source) -> ImportResult
fn import(&self, source: &Self::Source) -> ImportResult
Imports one source without reading ambient process state.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".