pub trait ConfigLoaderSync {
type SectionType;
// Required method
fn load_from_file_sync(
file_name: String,
) -> Result<Self::SectionType, LoadConfigError>;
}Required Associated Types§
type SectionType
Required Methods§
fn load_from_file_sync( file_name: String, ) -> Result<Self::SectionType, LoadConfigError>
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.