Struct varpro::model::builder::error::IncorrectParameterCount [−][src]
SNAFU context selector for the ModelBuildError::IncorrectParameterCount
variant
Fields
params: __T0
string_params_count: __T1
function_argument_count: __T2
Implementations
impl<__T0, __T1, __T2> IncorrectParameterCount<__T0, __T1, __T2>
[src]
#[must_use]pub fn build(self) -> ModelBuildError where
__T0: Into<Vec<String>>,
__T1: Into<usize>,
__T2: Into<usize>,
[src]
__T0: Into<Vec<String>>,
__T1: Into<usize>,
__T2: Into<usize>,
Consume the selector and return the associated error
pub fn fail<__T>(self) -> Result<__T, ModelBuildError> where
__T0: Into<Vec<String>>,
__T1: Into<usize>,
__T2: Into<usize>,
[src]
__T0: Into<Vec<String>>,
__T1: Into<usize>,
__T2: Into<usize>,
Consume the selector and return a Result
with the associated error
Trait Implementations
impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for IncorrectParameterCount<__T0, __T1, __T2>
[src]
fn clone(&self) -> IncorrectParameterCount<__T0, __T1, __T2>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for IncorrectParameterCount<__T0, __T1, __T2>
[src]
impl<__T0: Debug, __T1: Debug, __T2: Debug> Debug for IncorrectParameterCount<__T0, __T1, __T2>
[src]
impl<__T0, __T1, __T2> IntoError<ModelBuildError> for IncorrectParameterCount<__T0, __T1, __T2> where
ModelBuildError: Error + ErrorCompat,
__T0: Into<Vec<String>>,
__T1: Into<usize>,
__T2: Into<usize>,
[src]
ModelBuildError: Error + ErrorCompat,
__T0: Into<Vec<String>>,
__T1: Into<usize>,
__T2: Into<usize>,
type Source = NoneError
The underlying error
fn into_error(self, error: Self::Source) -> ModelBuildError
[src]
Auto Trait Implementations
impl<__T0, __T1, __T2> RefUnwindSafe for IncorrectParameterCount<__T0, __T1, __T2> where
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
__T2: RefUnwindSafe,
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
__T2: RefUnwindSafe,
impl<__T0, __T1, __T2> Send for IncorrectParameterCount<__T0, __T1, __T2> where
__T0: Send,
__T1: Send,
__T2: Send,
__T0: Send,
__T1: Send,
__T2: Send,
impl<__T0, __T1, __T2> Sync for IncorrectParameterCount<__T0, __T1, __T2> where
__T0: Sync,
__T1: Sync,
__T2: Sync,
__T0: Sync,
__T1: Sync,
__T2: Sync,
impl<__T0, __T1, __T2> Unpin for IncorrectParameterCount<__T0, __T1, __T2> where
__T0: Unpin,
__T1: Unpin,
__T2: Unpin,
__T0: Unpin,
__T1: Unpin,
__T2: Unpin,
impl<__T0, __T1, __T2> UnwindSafe for IncorrectParameterCount<__T0, __T1, __T2> where
__T0: UnwindSafe,
__T1: UnwindSafe,
__T2: UnwindSafe,
__T0: UnwindSafe,
__T1: UnwindSafe,
__T2: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,