Trait IntoFileSource
pub trait IntoFileSource: Debug {
// Required methods
fn default_path() -> PathBuf;
fn filename() -> String;
// Provided method
fn meta(&self) -> Option<&str> { ... }
}Expand description
Any config source that can be serialized and deserialized to/from a file.
Required Methods§
fn default_path() -> PathBuf
fn filename() -> String
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.