Trait miau::provider::Provider [−][src]
Represents configuration source and its associated format.
Can be as an aggregator of the two or by itself to represent source in which distinction between source and format is blurry.
Required methods
fn collect(&self) -> Result<Configuration, ConfigurationError>
[src]
Collects given source into Configuration
.
fn describe(&self) -> ConfigurationInfo
[src]
Describes this provider.
Implementations on Foreign Types
impl Provider for HashMap<String, String>
[src]
fn collect(&self) -> Result<Configuration, ConfigurationError>
[src]
fn describe(&self) -> ConfigurationInfo
[src]
Implementors
impl Provider for ConfigurationTree
[src]
fn collect(&self) -> Result<Configuration, ConfigurationError>
[src]
fn describe(&self) -> ConfigurationInfo
[src]
impl Provider for Configuration
[src]
fn collect(&self) -> Result<Configuration, ConfigurationError>
[src]
fn describe(&self) -> ConfigurationInfo
[src]
impl Provider for EnvironmentProvider
[src]
fn collect(&self) -> Result<Configuration, ConfigurationError>
[src]
fn describe(&self) -> ConfigurationInfo
[src]
impl<S, T> Provider for ProviderStruct<S, T> where
S: Source,
T: Format,
[src]
S: Source,
T: Format,