pub enum IntegrationError {
InconsistentInitialConditions,
InitialTimeNotLessThanFinalTime,
Intermediate(String),
LengthTimeLessThanTwo,
MinimumStepSizeReached(Scalar, String),
MinimumStepSizeUpstream(Scalar, String, String),
TimeStepNotSet(Scalar, Scalar, String),
Upstream(String, String),
}Expand description
Possible errors encountered when integrating.
Variants§
InconsistentInitialConditions
InitialTimeNotLessThanFinalTime
Intermediate(String)
LengthTimeLessThanTwo
MinimumStepSizeReached(Scalar, String)
MinimumStepSizeUpstream(Scalar, String, String)
TimeStepNotSet(Scalar, Scalar, String)
Upstream(String, String)
Implementations§
Trait Implementations§
Source§impl Debug for IntegrationError
impl Debug for IntegrationError
Source§impl Display for IntegrationError
impl Display for IntegrationError
Source§impl Error for IntegrationError
impl Error for IntegrationError
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<IntegrationError> for String
impl From<IntegrationError> for String
Source§fn from(error: IntegrationError) -> Self
fn from(error: IntegrationError) -> Self
Converts to this type from the input type.
Source§impl From<IntegrationError> for AssertionError
impl From<IntegrationError> for AssertionError
Source§fn from(error: IntegrationError) -> Self
fn from(error: IntegrationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntegrationError
impl RefUnwindSafe for IntegrationError
impl Send for IntegrationError
impl Sync for IntegrationError
impl Unpin for IntegrationError
impl UnsafeUnpin for IntegrationError
impl UnwindSafe for IntegrationError
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