Struct varpro::model::errors::UnexpectedFunctionOutput [−][src]
SNAFU context selector for the ModelError::UnexpectedFunctionOutput
variant
Fields
expected_length: __T0
actual_length: __T1
Implementations
impl<__T0, __T1> UnexpectedFunctionOutput<__T0, __T1>
[src]
#[must_use]pub fn build(self) -> ModelError where
__T0: Into<usize>,
__T1: Into<usize>,
[src]
__T0: Into<usize>,
__T1: Into<usize>,
Consume the selector and return the associated error
pub fn fail<__T>(self) -> Result<__T, ModelError> where
__T0: Into<usize>,
__T1: Into<usize>,
[src]
__T0: Into<usize>,
__T1: Into<usize>,
Consume the selector and return a Result
with the associated error
Trait Implementations
impl<__T0: Clone, __T1: Clone> Clone for UnexpectedFunctionOutput<__T0, __T1>
[src]
fn clone(&self) -> UnexpectedFunctionOutput<__T0, __T1>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<__T0: Copy, __T1: Copy> Copy for UnexpectedFunctionOutput<__T0, __T1>
[src]
impl<__T0: Debug, __T1: Debug> Debug for UnexpectedFunctionOutput<__T0, __T1>
[src]
impl<__T0, __T1> IntoError<ModelError> for UnexpectedFunctionOutput<__T0, __T1> where
ModelError: Error + ErrorCompat,
__T0: Into<usize>,
__T1: Into<usize>,
[src]
ModelError: Error + ErrorCompat,
__T0: Into<usize>,
__T1: Into<usize>,
type Source = NoneError
The underlying error
fn into_error(self, error: Self::Source) -> ModelError
[src]
Auto Trait Implementations
impl<__T0, __T1> RefUnwindSafe for UnexpectedFunctionOutput<__T0, __T1> where
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
impl<__T0, __T1> Send for UnexpectedFunctionOutput<__T0, __T1> where
__T0: Send,
__T1: Send,
__T0: Send,
__T1: Send,
impl<__T0, __T1> Sync for UnexpectedFunctionOutput<__T0, __T1> where
__T0: Sync,
__T1: Sync,
__T0: Sync,
__T1: Sync,
impl<__T0, __T1> Unpin for UnexpectedFunctionOutput<__T0, __T1> where
__T0: Unpin,
__T1: Unpin,
__T0: Unpin,
__T1: Unpin,
impl<__T0, __T1> UnwindSafe for UnexpectedFunctionOutput<__T0, __T1> where
__T0: UnwindSafe,
__T1: UnwindSafe,
__T0: UnwindSafe,
__T1: 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,