Enum optimization_engine::SolverError
source · pub enum SolverError {
Cost,
NotFiniteComputation,
}
Expand description
Exceptions/Errors that may arise while solving a problem
Variants§
Cost
If the gradient or cost function cannot be evaluated
NotFiniteComputation
Computation failed and NaN/Infinite value was obtained
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 PartialEq for SolverError
impl PartialEq 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 ==
.impl Copy for SolverError
impl Eq 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 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