pub enum IntegrateError {
ComputationError(String),
ConvergenceError(String),
ValueError(String),
InvalidInput(String),
NotImplementedError(String),
LinearSolveError(String),
DimensionMismatch(String),
MethodSwitchingError(String),
StepSizeTooSmall(String),
IndexError(String),
}Expand description
Integration error type
Variants§
ComputationError(String)
Computation error (generic error)
ConvergenceError(String)
Convergence error (algorithm did not converge)
ValueError(String)
Value error (invalid value)
InvalidInput(String)
Invalid input error
NotImplementedError(String)
Not implemented error
LinearSolveError(String)
Linear system solver error
DimensionMismatch(String)
Dimension mismatch error
MethodSwitchingError(String)
Method switching error
StepSizeTooSmall(String)
Step size too small error
IndexError(String)
Index error
Trait Implementations§
Source§impl Clone for IntegrateError
impl Clone for IntegrateError
Source§fn clone(&self) -> IntegrateError
fn clone(&self) -> IntegrateError
Returns a duplicate 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 Debug for IntegrateError
impl Debug for IntegrateError
Source§impl Display for IntegrateError
impl Display for IntegrateError
Source§impl Error for IntegrateError
impl Error for IntegrateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<IntegrateError> for PDEError
impl From<IntegrateError> for PDEError
Source§fn from(err: IntegrateError) -> Self
fn from(err: IntegrateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntegrateError
impl RefUnwindSafe for IntegrateError
impl Send for IntegrateError
impl Sync for IntegrateError
impl Unpin for IntegrateError
impl UnwindSafe for IntegrateError
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> 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