[][src]Trait configurs::Configuration

pub trait Configuration where
    Self: Default + LoadableFromEnvironment
{ fn load() -> Self;
fn load_from_file<P: AsRef<Path>>(p: P) -> Result<Self, ConfigurationError>; }

Required methods

fn load() -> Self

fn load_from_file<P: AsRef<Path>>(p: P) -> Result<Self, ConfigurationError>

Loading content...

Implementors

Loading content...