pub trait Config: Configurable {
// Provided method
fn ensure_dir() -> Result<PathBuf, Error> { ... }
}Expand description
A Configurable type that loads from the equivalent of $XDG_CONFIG_HOME
Provided Methods§
Sourcefn ensure_dir() -> Result<PathBuf, Error>
fn ensure_dir() -> Result<PathBuf, Error>
Ensures the directory exists
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.