pub enum SundialsError {
Memory(&'static str),
ReturnCode {
solver: &'static str,
function: &'static str,
code: i32,
},
RhsError(i32),
NVectorCreate,
MatrixCreate,
LinearSolverCreate,
TooMuchWork,
Diverge,
}Variants§
Memory(&'static str)
ReturnCode
RhsError(i32)
NVectorCreate
MatrixCreate
LinearSolverCreate
TooMuchWork
Diverge
Trait Implementations§
Source§impl Debug for SundialsError
impl Debug for SundialsError
Source§impl Display for SundialsError
impl Display for SundialsError
Source§impl Error for SundialsError
impl Error for SundialsError
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()
Auto Trait Implementations§
impl Freeze for SundialsError
impl RefUnwindSafe for SundialsError
impl Send for SundialsError
impl Sync for SundialsError
impl Unpin for SundialsError
impl UnsafeUnpin for SundialsError
impl UnwindSafe for SundialsError
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