pub enum KktError {
Dimension {
field: &'static str,
expected: usize,
actual: usize,
},
}Expand description
Errors from the standalone KKT checker.
Variants§
Dimension
A primal or dual vector has the wrong length.
Trait Implementations§
impl Eq for KktError
Source§impl Error for KktError
impl Error for KktError
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 From<KktError> for SolverError
impl From<KktError> for SolverError
impl StructuralPartialEq for KktError
Auto Trait Implementations§
impl Freeze for KktError
impl RefUnwindSafe for KktError
impl Send for KktError
impl Sync for KktError
impl Unpin for KktError
impl UnsafeUnpin for KktError
impl UnwindSafe for KktError
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