Enum casuarius::RemoveConstraintError
source · [−]pub enum RemoveConstraintError {
UnknownConstraint,
InternalSolverError(&'static str),
}
Expand description
The possible error conditions that Solver::remove_constraint
can fail with.
Variants
UnknownConstraint
The constraint specified was not already in the solver, so cannot be removed.
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 RemoveConstraintError
impl Clone for RemoveConstraintError
sourcefn clone(&self) -> RemoveConstraintError
fn clone(&self) -> RemoveConstraintError
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 RemoveConstraintError
impl Debug for RemoveConstraintError
impl Copy for RemoveConstraintError
Auto Trait Implementations
impl RefUnwindSafe for RemoveConstraintError
impl Send for RemoveConstraintError
impl Sync for RemoveConstraintError
impl Unpin for RemoveConstraintError
impl UnwindSafe for RemoveConstraintError
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