Skip to main content

ConfigProvider

Trait ConfigProvider 

Source
pub trait ConfigProvider: Send + Sync {
    // Required method
    fn get_module_config(&self, module_name: &str) -> Option<&Value>;
}
Expand description

Provider of module-specific configuration (raw JSON sections only).

Required Methods§

Source

fn get_module_config(&self, module_name: &str) -> Option<&Value>

Returns raw JSON section for the module, if any.

Implementors§