#[non_exhaustive]pub enum SolveStatus {
Converged,
NotConverged,
Breakdown,
}Expand description
How an iterative solve ended.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Converged
The residual met the requested tolerance.
NotConverged
The iteration budget ran out before the tolerance was met.
Breakdown
The method hit a numerical breakdown and could not continue.
Implementations§
Source§impl SolveStatus
impl SolveStatus
Sourcepub fn is_converged(self) -> bool
pub fn is_converged(self) -> bool
true only for SolveStatus::Converged.
Trait Implementations§
Source§impl Clone for SolveStatus
impl Clone for SolveStatus
impl Copy for SolveStatus
Source§impl Debug for SolveStatus
impl Debug for SolveStatus
Source§impl Display for SolveStatus
impl Display for SolveStatus
impl Eq for SolveStatus
Source§impl PartialEq for SolveStatus
impl PartialEq for SolveStatus
impl StructuralPartialEq for SolveStatus
Auto Trait Implementations§
impl Freeze for SolveStatus
impl RefUnwindSafe for SolveStatus
impl Send for SolveStatus
impl Sync for SolveStatus
impl Unpin for SolveStatus
impl UnsafeUnpin for SolveStatus
impl UnwindSafe for SolveStatus
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