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
sourceimpl Clone for SolverError
impl Clone for SolverError
sourcefn clone(&self) -> SolverError
fn clone(&self) -> SolverError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SolverError
impl Debug for SolverError
sourceimpl PartialEq<SolverError> for SolverError
impl PartialEq<SolverError> for SolverError
sourcefn eq(&self, other: &SolverError) -> bool
fn eq(&self, other: &SolverError) -> bool
impl Copy for SolverError
impl Eq for SolverError
impl StructuralEq for SolverError
impl StructuralPartialEq for SolverError
Auto Trait Implementations
impl RefUnwindSafe for SolverError
impl Send for SolverError
impl Sync for SolverError
impl Unpin for SolverError
impl UnwindSafe for SolverError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more