Trait config::Source [] [src]

pub trait Source: Debug {
    fn clone_into_box(&self) -> Box<Source + Send + Sync>;
fn collect(&self) -> Result<HashMap<String, Value>, ConfigError>; fn collect_to(&self, cache: &mut Value) -> Result<(), ConfigError> { ... } }

Describes a generic source of configuration properties.

Required Methods

Collect all configuration properties available from this source and return a HashMap.

Provided Methods

Implementations on Foreign Types

impl Source for Vec<Box<Source + Send + Sync>>
[src]

impl<T> Source for Vec<T> where
    T: Source + Sync + Send,
    T: Clone,
    T: 'static, 
[src]

Implementors