[−][src]Trait preftool::ConfigurationBuilder
A configuration builder.
Associated Types
type Config: Configuration
Resulting configuration type.
Required methods
fn push_provider<P: ConfigurationProvider + 'static>(self, source: P) -> Self
Add a configuration provider to the builder.
fn build(self) -> Result<Self::Config>
Build the configuration.
Provided methods
fn add<S: ConfigurationSource>(self, source: S) -> Result<Self>
Add a configuration source to the builder.