pub enum SingleAtomConstrExtractionError {
HasMultipleAtoms,
TransformationFailed(ConstraintRewriteError),
}Expand description
Error that can occur when trying to construct a SingleAtomConstraint
Variants§
HasMultipleAtoms
The constraint references multiple atoms, it could be a
SumAtomConstraint or ComparisonConstraint
TransformationFailed(ConstraintRewriteError)
Rewriting of the constraint failed
Trait Implementations§
Source§impl Clone for SingleAtomConstrExtractionError
impl Clone for SingleAtomConstrExtractionError
Source§fn clone(&self) -> SingleAtomConstrExtractionError
fn clone(&self) -> SingleAtomConstrExtractionError
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 PartialEq for SingleAtomConstrExtractionError
impl PartialEq for SingleAtomConstrExtractionError
Source§fn eq(&self, other: &SingleAtomConstrExtractionError) -> bool
fn eq(&self, other: &SingleAtomConstrExtractionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SingleAtomConstrExtractionError
Auto Trait Implementations§
impl Freeze for SingleAtomConstrExtractionError
impl RefUnwindSafe for SingleAtomConstrExtractionError
impl Send for SingleAtomConstrExtractionError
impl Sync for SingleAtomConstrExtractionError
impl Unpin for SingleAtomConstrExtractionError
impl UnwindSafe for SingleAtomConstrExtractionError
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