Trait ConfigSource

Source
pub trait ConfigSource {
    // Required method
    fn collect(&self) -> Result<HashMap<String, String>, ConfigError>;
}
Expand description

Describes a generic source of configuration parameters

Required Methods§

Source

fn collect(&self) -> Result<HashMap<String, String>, ConfigError>

Collect all the configuration parameters from the source

Implementors§