pub enum ConstraintRewriteError {
NotLinearArithmetic,
ParameterConstraint(Box<BooleanExpression<Variable>>),
}Expand description
Error that can occur during the transformation of a guard
Variants§
NotLinearArithmetic
Constraint is not a linear arithmetic constraint (e.g. it could contain multiplications of atoms)
ParameterConstraint(Box<BooleanExpression<Variable>>)
Constraint over parameters values instead of shared memory values
Constraints like this should be part of the resilience condition
Trait Implementations§
Source§impl Clone for ConstraintRewriteError
impl Clone for ConstraintRewriteError
Source§fn clone(&self) -> ConstraintRewriteError
fn clone(&self) -> ConstraintRewriteError
Returns a duplicate 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 ConstraintRewriteError
impl Debug for ConstraintRewriteError
Source§impl Display for ConstraintRewriteError
impl Display for ConstraintRewriteError
Source§impl Error for ConstraintRewriteError
impl Error for ConstraintRewriteError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ConstraintRewriteError
impl PartialEq for ConstraintRewriteError
impl StructuralPartialEq for ConstraintRewriteError
Auto Trait Implementations§
impl Freeze for ConstraintRewriteError
impl RefUnwindSafe for ConstraintRewriteError
impl Send for ConstraintRewriteError
impl Sync for ConstraintRewriteError
impl Unpin for ConstraintRewriteError
impl UnwindSafe for ConstraintRewriteError
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