pub trait ConfigurationRoot: Configuration + AsRef<dyn Configuration> + Borrow<dyn Configuration> + Deref<Target = dyn Configuration> + Debug {
    // Required methods
    fn reload(&mut self) -> ReloadResult;
    fn providers(&self) -> Box<dyn ConfigurationProviderIterator<'_> + '_>;
    fn as_config(&self) -> Box<dyn Configuration>;
}
Expand description

Represents the root of a Configuration hierarchy.

Required Methods§

source

fn reload(&mut self) -> ReloadResult

Force the configuration values to be reloaded from the underlying ConfigurationProvider collection.

source

fn providers(&self) -> Box<dyn ConfigurationProviderIterator<'_> + '_>

Gets the ConfigurationProvider sequence for this configuration.

source

fn as_config(&self) -> Box<dyn Configuration>

Implementors§