pub trait BaseConfig:
Sized
+ Default
+ Serialize
+ for<'a> Deserialize<'a> {
const PACKAGE: &'static str;
// Provided methods
fn path() -> Option<PathBuf> { ... }
fn load() -> Result<Self> { ... }
fn load_path<P>(path: P) -> Result<Self>
where P: AsRef<Path> { ... }
}Expand description
Base configuration schema
Required Associated Constants§
Provided 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.