Enum casuarius::SuggestValueError
source · [−]pub enum SuggestValueError {
UnknownEditVariable,
InternalSolverError(&'static str),
}
Expand description
The possible error conditions that Solver::suggest_value
can fail with.
Variants
UnknownEditVariable
The specified variable was not an edit variable in the solver, so cannot have its value suggested.
InternalSolverError(&'static str)
The solver entered an invalid state. If this occurs please report the issue. This variant specifies additional details as a string.
Trait Implementations
sourceimpl Clone for SuggestValueError
impl Clone for SuggestValueError
sourcefn clone(&self) -> SuggestValueError
fn clone(&self) -> SuggestValueError
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 more
sourceimpl Debug for SuggestValueError
impl Debug for SuggestValueError
impl Copy for SuggestValueError
Auto Trait Implementations
impl RefUnwindSafe for SuggestValueError
impl Send for SuggestValueError
impl Sync for SuggestValueError
impl Unpin for SuggestValueError
impl UnwindSafe for SuggestValueError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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