pub struct EnvSource { /* private fields */ }Expand description
An environment-variable configuration source.
Implementations§
Trait Implementations§
Source§impl ConfigSource for EnvSource
impl ConfigSource for EnvSource
Source§fn relative_path_base(&self) -> Option<&Path>
fn relative_path_base(&self) -> Option<&Path>
Returns the base directory for relative path values from this source.
Source§fn load_document(&self) -> Result<ConfigDocument>
fn load_document(&self) -> Result<ConfigDocument>
Loads all supported configuration value shapes.
impl Eq for EnvSource
impl StructuralPartialEq for EnvSource
Auto Trait Implementations§
impl Forget for EnvSource
impl Freeze for EnvSource
impl Move for EnvSource
impl RefUnwindSafe for EnvSource
impl Send for EnvSource
impl Sync for EnvSource
impl Unpin for EnvSource
impl UnsafeUnpin for EnvSource
impl UnwindSafe for EnvSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.