pub struct Prefixed<T> { /* private fields */ }Expand description
Wraps a hierarchical source into a prefix.
Implementations§
Source§impl<T: ConfigSource<Kind = Hierarchical>> Prefixed<T>
impl<T: ConfigSource<Kind = Hierarchical>> Prefixed<T>
Trait Implementations§
Source§impl<T: ConfigSource<Kind = Hierarchical>> ConfigSource for Prefixed<T>
impl<T: ConfigSource<Kind = Hierarchical>> ConfigSource for Prefixed<T>
Source§type Kind = Hierarchical
type Kind = Hierarchical
Kind of the source.
Source§fn into_contents(self) -> WithOrigin<Map>
fn into_contents(self) -> WithOrigin<Map>
Converts this source into config contents.
Auto Trait Implementations§
impl<T> Freeze for Prefixed<T>where
T: Freeze,
impl<T> RefUnwindSafe for Prefixed<T>where
T: RefUnwindSafe,
impl<T> Send for Prefixed<T>where
T: Send,
impl<T> Sync for Prefixed<T>where
T: Sync,
impl<T> Unpin for Prefixed<T>where
T: Unpin,
impl<T> UnwindSafe for Prefixed<T>where
T: UnwindSafe,
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