pub struct LoadedConfig<T> { /* private fields */ }Expand description
Loaded configuration plus its diagnostic report.
Implementations§
Source§impl<T> LoadedConfig<T>
impl<T> LoadedConfig<T>
Sourcepub fn report(&self) -> &ConfigReport
pub fn report(&self) -> &ConfigReport
Returns the diagnostic report associated with the load.
Sourcepub fn into_parts(self) -> (T, ConfigReport)
pub fn into_parts(self) -> (T, ConfigReport)
Splits the loaded configuration into its value and report.
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Returns the loaded configuration value, discarding the report.
Trait Implementations§
Source§impl<T> Clone for LoadedConfig<T>where
T: Clone,
impl<T> Clone for LoadedConfig<T>where
T: Clone,
Source§impl<T: Debug> Debug for LoadedConfig<T>
impl<T: Debug> Debug for LoadedConfig<T>
Auto Trait Implementations§
impl<T> Freeze for LoadedConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for LoadedConfig<T>where
T: RefUnwindSafe,
impl<T> Send for LoadedConfig<T>where
T: Send,
impl<T> Sync for LoadedConfig<T>where
T: Sync,
impl<T> Unpin for LoadedConfig<T>where
T: Unpin,
impl<T> UnsafeUnpin for LoadedConfig<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LoadedConfig<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