pub struct RawConfig(/* private fields */);
Expand description
Newtype for unprocessed (or unresolved) StackedConfig
.
This doesn’t provide any strict guarantee about the underlying config object. It just requires an explicit cast to access to the config object.
Trait Implementations§
Source§impl AsMut<StackedConfig> for RawConfig
impl AsMut<StackedConfig> for RawConfig
Source§fn as_mut(&mut self) -> &mut StackedConfig
fn as_mut(&mut self) -> &mut StackedConfig
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<StackedConfig> for RawConfig
impl AsRef<StackedConfig> for RawConfig
Source§fn as_ref(&self) -> &StackedConfig
fn as_ref(&self) -> &StackedConfig
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for RawConfig
impl RefUnwindSafe for RawConfig
impl Send for RawConfig
impl Sync for RawConfig
impl Unpin for RawConfig
impl UnwindSafe for RawConfig
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more