pub struct MapSource { /* private fields */ }Expand description
A fixed, named set of configuration values.
Implementations§
Trait Implementations§
Source§impl ConfigSource for MapSource
impl ConfigSource for MapSource
Source§fn load_document(&self) -> Result<ConfigDocument>
fn load_document(&self) -> Result<ConfigDocument>
Loads all supported configuration value shapes.
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.
impl Eq for MapSource
impl StructuralPartialEq for MapSource
Auto Trait Implementations§
impl Forget for MapSource
impl Freeze for MapSource
impl Move for MapSource
impl RefUnwindSafe for MapSource
impl Send for MapSource
impl Sync for MapSource
impl Unpin for MapSource
impl UnsafeUnpin for MapSource
impl UnwindSafe for MapSource
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.