[][src]Trait preftool::ConfigurationProvider

pub trait ConfigurationProvider: Send + Sync {
    fn try_get(&self, key: &ConfigKey) -> Option<&str>;
fn get_child_keys(&self, key: &ConfigKey, keys: &mut HashSet<ConfigKey>); }

A configuration provider.

Required methods

fn try_get(&self, key: &ConfigKey) -> Option<&str>

Try to get a value for a given key.

fn get_child_keys(&self, key: &ConfigKey, keys: &mut HashSet<ConfigKey>)

Get all child keys of a given key.

Loading content...

Implementations on Foreign Types

impl<P: ConfigurationProvider> ConfigurationProvider for Box<P>[src]

impl ConfigurationProvider for Box<dyn ConfigurationProvider>[src]

Loading content...

Implementors

impl ConfigurationProvider for DefaultConfigurationProvider[src]

Loading content...