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§
Source§impl Clone for SuggestValueError
impl Clone for SuggestValueError
Source§fn clone(&self) -> SuggestValueError
fn clone(&self) -> SuggestValueError
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 SuggestValueError
impl Debug for SuggestValueError
impl Copy for SuggestValueError
Auto Trait Implementations§
impl Freeze for SuggestValueError
impl RefUnwindSafe for SuggestValueError
impl Send for SuggestValueError
impl Sync for SuggestValueError
impl Unpin for SuggestValueError
impl UnwindSafe for SuggestValueError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)