Trait config::Source [−][src]
pub trait Source: Debug {
fn clone_into_box(&self) -> Box<dyn Source + Send + Sync>;
fn collect(&self) -> Result<HashMap<String, Value>, ConfigError>;
fn collect_to(&self, cache: &mut Value) -> Result<(), ConfigError> { ... }
}
Expand description
Describes a generic source of configuration properties.