Struct configure::source::DefaultSource
source · pub struct DefaultSource { /* private fields */ }Expand description
The default source for configuration values. You can set this as the
source of configuration using the use_default_config! macro.
Trait Implementations§
source§impl Clone for DefaultSource
impl Clone for DefaultSource
source§fn clone(&self) -> DefaultSource
fn clone(&self) -> DefaultSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ConfigSource for DefaultSource
impl ConfigSource for DefaultSource
source§fn init() -> DefaultSource
fn init() -> DefaultSource
Initialize this source. This will be called once when the program
begins and then never called again.
Auto Trait Implementations§
impl Freeze for DefaultSource
impl RefUnwindSafe for DefaultSource
impl Send for DefaultSource
impl Sync for DefaultSource
impl Unpin for DefaultSource
impl UnwindSafe for DefaultSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more