pub enum TacticError {
NoOpenGoals,
DoesNotApply(String),
NoSuchHypothesis(String),
AutoFailed,
GoalsRemain(usize),
}Expand description
What went wrong applying a tactic.
Variants§
NoOpenGoals
No focused goal — the proof state is already complete.
DoesNotApply(String)
The tactic does not apply to the focused goal’s shape (e.g. intro on an atom).
NoSuchHypothesis(String)
No hypothesis (or premise) matches the goal for assumption/exact.
AutoFailed
The backward chainer could not close the goal.
GoalsRemain(usize)
qed was called with goals still open.
Trait Implementations§
Source§impl Clone for TacticError
impl Clone for TacticError
Source§fn clone(&self) -> TacticError
fn clone(&self) -> TacticError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TacticError
impl Debug for TacticError
Source§impl PartialEq for TacticError
impl PartialEq for TacticError
impl StructuralPartialEq for TacticError
Auto Trait Implementations§
impl Freeze for TacticError
impl RefUnwindSafe for TacticError
impl Send for TacticError
impl Sync for TacticError
impl Unpin for TacticError
impl UnsafeUnpin for TacticError
impl UnwindSafe for TacticError
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