pub struct SubcommandOverridesContext<__T0, __T1> {
pub subcommand: __T0,
pub overrides: __T1,
}
Expand description
SNAFU context selector for the ConfigError::SubcommandOverrides
variant
Fieldsยง
ยงsubcommand: __T0
ยงoverrides: __T1
Implementationsยง
Sourceยงimpl<__T0, __T1> SubcommandOverridesContext<__T0, __T1>
impl<__T0, __T1> SubcommandOverridesContext<__T0, __T1>
Sourcepub fn build(self) -> ConfigError
pub fn build(self) -> ConfigError
Consume the selector and return the associated error
Trait Implementationsยง
Sourceยงimpl<__T0: Clone, __T1: Clone> Clone for SubcommandOverridesContext<__T0, __T1>
impl<__T0: Clone, __T1: Clone> Clone for SubcommandOverridesContext<__T0, __T1>
Sourceยงfn clone(&self) -> SubcommandOverridesContext<__T0, __T1>
fn clone(&self) -> SubcommandOverridesContext<__T0, __T1>
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl<__T0, __T1> IntoError<ConfigError> for SubcommandOverridesContext<__T0, __T1>where
ConfigError: Error + ErrorCompat,
__T0: Into<&'static str>,
__T1: Into<BTreeMap<String, String>>,
impl<__T0, __T1> IntoError<ConfigError> for SubcommandOverridesContext<__T0, __T1>where
ConfigError: Error + ErrorCompat,
__T0: Into<&'static str>,
__T1: Into<BTreeMap<String, String>>,
Sourceยงfn into_error(self, error: Self::Source) -> ConfigError
fn into_error(self, error: Self::Source) -> ConfigError
Combine the information to produce the error
impl<__T0: Copy, __T1: Copy> Copy for SubcommandOverridesContext<__T0, __T1>
Auto Trait Implementationsยง
impl<__T0, __T1> Freeze for SubcommandOverridesContext<__T0, __T1>
impl<__T0, __T1> RefUnwindSafe for SubcommandOverridesContext<__T0, __T1>where
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
impl<__T0, __T1> Send for SubcommandOverridesContext<__T0, __T1>
impl<__T0, __T1> Sync for SubcommandOverridesContext<__T0, __T1>
impl<__T0, __T1> Unpin for SubcommandOverridesContext<__T0, __T1>
impl<__T0, __T1> UnwindSafe for SubcommandOverridesContext<__T0, __T1>where
__T0: UnwindSafe,
__T1: 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