pub enum SolverError {
Show 15 variants
Shape(&'static str),
WorkspaceLimit {
required: usize,
limit: usize,
},
Communication(String),
SizeOverflow,
Allocation,
NonFinite {
index: usize,
},
InvalidOption(&'static str),
Singular {
index: usize,
pivot: f64,
threshold: f64,
},
NotSymmetric {
row: usize,
column: usize,
},
NotPositiveDefinite {
index: usize,
pivot: f64,
},
RankDeficient {
rank: usize,
columns: usize,
},
Arithmetic(&'static str),
Breakdown(&'static str),
NonConvergence {
iterations: usize,
residual: f64,
},
Operator(&'static str),
}Variants§
Shape(&'static str)
WorkspaceLimit
Communication(String)
SizeOverflow
Allocation
NonFinite
InvalidOption(&'static str)
Singular
NotSymmetric
NotPositiveDefinite
RankDeficient
Arithmetic(&'static str)
Breakdown(&'static str)
NonConvergence
Operator(&'static str)
Trait Implementations§
Source§impl Clone for SolverError
impl Clone for SolverError
Source§fn clone(&self) -> SolverError
fn clone(&self) -> SolverError
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 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)>
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 PartialEq for SolverError
impl PartialEq for SolverError
impl StructuralPartialEq for SolverError
Auto Trait Implementations§
impl Freeze for SolverError
impl RefUnwindSafe for SolverError
impl Send for SolverError
impl Sync for SolverError
impl Unpin for SolverError
impl UnsafeUnpin for SolverError
impl UnwindSafe for SolverError
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