Struct smart_config::Prefixed
source · 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>
§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)