pub trait Source {
// Required methods
fn name(&self) -> Cow<'static, str>;
fn load(&self) -> Result<Option<Value>, ReadError>;
}Expand description
A source of configuration data.
Implementations return an optional serde_json::Value and provide a
short name() for diagnostics.