Enum totsu::prelude::SolverError
source · pub enum SolverError {
Unbounded,
Infeasible,
ExcessIter,
InvalidOp,
WorkShortage,
ConeFailure,
}
Expand description
Solver errors.
Variants§
Unbounded
Found an unbounded certificate.
Infeasible
Found an infeasibile certificate.
ExcessIter
Exceed max iterations.
InvalidOp
Invalid crate::solver::Operator
.
WorkShortage
Shortage of work slice length.
ConeFailure
Failure caused by crate::solver::Cone
.
Trait Implementations§
source§impl Clone for SolverError
impl Clone for SolverError
source§fn clone(&self) -> SolverError
fn clone(&self) -> SolverError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SolverError
impl Debug for SolverError
source§impl Display for SolverError
impl Display for SolverError
source§impl Error for SolverError
impl Error for SolverError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<SolverError> for SolverError
impl PartialEq<SolverError> for SolverError
source§fn eq(&self, other: &SolverError) -> bool
fn eq(&self, other: &SolverError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.