Struct configure::source::DefaultSource [−][src]
pub struct DefaultSource { /* fields omitted */ }
The default source for configuration values. You can set this as the
source of configuration using the use_default_config!
macro.
Trait Implementations
impl Clone for DefaultSource
[src]
impl Clone for DefaultSource
fn clone(&self) -> DefaultSource
[src]
fn clone(&self) -> DefaultSource
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl ConfigSource for DefaultSource
[src]
impl ConfigSource for DefaultSource
fn init() -> DefaultSource
[src]
fn init() -> DefaultSource
Initialize this source. This will be called once when the program begins and then never called again. Read more
ⓘImportant traits for Box<R>fn prepare(&self, package: &'static str) -> Box<DynamicDeserializer<'static>>
[src]
ⓘImportant traits for Box<R>
fn prepare(&self, package: &'static str) -> Box<DynamicDeserializer<'static>>
Prepare a deserializer for a particular package. This will be called every time we generate configuration for that package. Read more
Auto Trait Implementations
impl Send for DefaultSource
impl Send for DefaultSource
impl Sync for DefaultSource
impl Sync for DefaultSource