pub enum Status<T, Y>{
Uninitialized,
Initialized,
Error(Error<T, Y>),
Solving,
RejectedStep,
Interrupted,
Complete,
}Expand description
Status for solving differential equations
§Variants
Uninitialized- NumericalMethod has not been initialized.Initialized- NumericalMethod has been initialized.Error- NumericalMethod encountered an error.Solving- NumericalMethod is solving.RejectedStep- NumericalMethod rejected step.Interrupted- NumericalMethod was interrupted by Solout with reason.Complete- NumericalMethod completed.
Variants§
Uninitialized
Uninitialized state
Initialized
Initialized state
Error(Error<T, Y>)
General Error pass through from solver
Solving
Currently being solved
RejectedStep
Step was rejected, typically will retry with smaller step size
Interrupted
Solver was interrupted by Solout function with reason
Complete
Solver has completed the integration successfully.
Trait Implementations§
impl<T, Y> StructuralPartialEq for Status<T, Y>
Auto Trait Implementations§
impl<T, Y> Freeze for Status<T, Y>
impl<T, Y> RefUnwindSafe for Status<T, Y>where
T: RefUnwindSafe,
Y: RefUnwindSafe,
impl<T, Y> Send for Status<T, Y>where
Y: Send,
impl<T, Y> Sync for Status<T, Y>where
Y: Sync,
impl<T, Y> Unpin for Status<T, Y>
impl<T, Y> UnwindSafe for Status<T, Y>where
T: UnwindSafe,
Y: UnwindSafe,
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.