pub enum SolverError {
InvalidInput(&'static str),
IncompatibleMethod {
method: Method,
system: SystemKind,
},
Parse {
equation: usize,
source: ParseError,
},
Evaluation {
equation: usize,
message: String,
},
NonFiniteDerivative {
equation: usize,
time: f64,
},
NonFiniteState {
time: f64,
},
StepSizeTooSmall {
time: f64,
},
StepLimitExceeded {
time: f64,
},
NoProgress {
time: f64,
},
CallbackPanicked,
FortranFailure {
info: c_int,
},
}Variants§
InvalidInput(&'static str)
IncompatibleMethod
Parse
Evaluation
NonFiniteDerivative
NonFiniteState
StepSizeTooSmall
StepLimitExceeded
NoProgress
CallbackPanicked
FortranFailure
Trait Implementations§
Source§impl Clone for SolverError
impl Clone for SolverError
Source§impl Debug for SolverError
impl Debug for SolverError
Source§impl Display for SolverError
impl Display for SolverError
Source§impl Error for SolverError
impl Error for SolverError
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 PartialEq for SolverError
impl PartialEq for SolverError
impl StructuralPartialEq for SolverError
Auto Trait Implementations§
impl Forget for SolverError
impl Freeze for SolverError
impl RefUnwindSafe for SolverError
impl Send for SolverError
impl Sync for SolverError
impl Unpin for SolverError
impl UnsafeUnpin for SolverError
impl UnwindSafe for SolverError
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