pub enum FactorizationError {
Singular,
WrongInertia,
FatalError,
}Expand description
Outcome of a crate::Factorization operation.
Wraps the lower-level ESymSolverStatus with Success removed
(success is expressed as Result::Ok). Variants mirror upstream
Ipopt’s status enum so a caller can map back if needed.
Variants§
Singular
Matrix is singular; factor was aborted.
WrongInertia
Backend’s reported negative-eigenvalue count did not match the caller’s expectation.
FatalError
Unrecoverable backend error.
Trait Implementations§
Source§impl Clone for FactorizationError
impl Clone for FactorizationError
Source§fn clone(&self) -> FactorizationError
fn clone(&self) -> FactorizationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FactorizationError
Source§impl Debug for FactorizationError
impl Debug for FactorizationError
Source§impl Display for FactorizationError
impl Display for FactorizationError
impl Eq for FactorizationError
Source§impl Error for FactorizationError
impl Error for FactorizationError
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 Hash for FactorizationError
impl Hash for FactorizationError
Source§impl PartialEq for FactorizationError
impl PartialEq for FactorizationError
Source§fn eq(&self, other: &FactorizationError) -> bool
fn eq(&self, other: &FactorizationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FactorizationError
Auto Trait Implementations§
impl Freeze for FactorizationError
impl RefUnwindSafe for FactorizationError
impl Send for FactorizationError
impl Sync for FactorizationError
impl Unpin for FactorizationError
impl UnsafeUnpin for FactorizationError
impl UnwindSafe for FactorizationError
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