FromConfig

Trait FromConfig 

Source
pub trait FromConfig
where Self: for<'a, 'b> FromElement<'a, 'b>,
{ const ROOT: &'static str; // Provided method fn load(path: &Path) -> Result<Self, String> { ... } }

Required Associated Constants§

Source

const ROOT: &'static str

Provided Methods§

Source

fn load(path: &Path) -> Result<Self, String>

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.

Implementors§