Enum varpro::model::errors::ModelError [−][src]
Errors pertaining to use errors of the [SeparableModel].
Variants
Base functions are expected to return a vector the same length as the location argument. A function did not adhere to that rule.
Indicates an evaluation for a parameter was requested that is not part of the model parameters
Fields of ParameterNotInModel
parameter: String
Indicates that the given derivative index is out of bounds.
Fields of DerivativeIndexOutOfBounds
index: usize
It was tried to evaluate a model with an incorrect number of parameters
Trait Implementations
impl Clone for ModelError
[src]
fn clone(&self) -> ModelError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ModelError
[src]
impl Display for ModelError
[src]
impl Error for ModelError where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
impl ErrorCompat for ModelError
[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]
impl<__T0> IntoError<ModelError> for ParameterNotInModel<__T0> where
ModelError: Error + ErrorCompat,
__T0: Into<String>,
[src]
ModelError: Error + ErrorCompat,
__T0: Into<String>,
type Source = NoneError
The underlying error
fn into_error(self, error: Self::Source) -> ModelError
[src]
impl<__T0> IntoError<ModelError> for DerivativeIndexOutOfBounds<__T0> where
ModelError: Error + ErrorCompat,
__T0: Into<usize>,
[src]
ModelError: Error + ErrorCompat,
__T0: Into<usize>,
type Source = NoneError
The underlying error
fn into_error(self, error: Self::Source) -> ModelError
[src]
impl<__T0, __T1> IntoError<ModelError> for IncorrectParameterCount<__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]
impl PartialEq<ModelError> for ModelError
[src]
fn eq(&self, other: &ModelError) -> bool
[src]
fn ne(&self, other: &ModelError) -> bool
[src]
impl StructuralPartialEq for ModelError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ModelError
impl Send for ModelError
impl Sync for ModelError
impl Unpin for ModelError
impl UnwindSafe for ModelError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,