pub trait FileSource<T>: Debug + Clonewhere
T: Format + FileStoredFormat,{
// Required method
fn resolve(
&self,
format_hint: Option<T>,
) -> Result<FileSourceResult, Box<dyn Error + Send + Sync>>;
}
Expand description
Describes where the file is sourced
Required Methods§
fn resolve( &self, format_hint: Option<T>, ) -> Result<FileSourceResult, Box<dyn Error + Send + Sync>>
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.