pub enum DoubleCheck {
Agreed,
MainOnlyReCheckerIncomplete(Incomplete),
Disagree(String),
}Expand description
The verdict of cross-checking a term with BOTH kernels.
Variants§
Agreed
Both kernels accepted with definitionally-equal types, or both rejected as ill-typed. Check the inference result as well when agreement must establish acceptance.
MainOnlyReCheckerIncomplete(Incomplete)
The independent checker reached no verdict, for example because a construct or resource requirement is unsupported. This does not establish acceptance or rejection by the main kernel. Open-input admission can stop before main inference runs; callers needing a main verdict must check it separately. An incomplete independent check never establishes two-kernel agreement.
Disagree(String)
The two kernels DISAGREE: one accepted and the other rejected, or they inferred non-equal types. A soundness alarm that must never fire on a valid proof.
Trait Implementations§
Source§impl Clone for DoubleCheck
impl Clone for DoubleCheck
Source§fn clone(&self) -> DoubleCheck
fn clone(&self) -> DoubleCheck
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 DoubleCheck
impl Debug for DoubleCheck
Source§impl PartialEq for DoubleCheck
impl PartialEq for DoubleCheck
impl StructuralPartialEq for DoubleCheck
Auto Trait Implementations§
impl Freeze for DoubleCheck
impl RefUnwindSafe for DoubleCheck
impl Send for DoubleCheck
impl Sync for DoubleCheck
impl Unpin for DoubleCheck
impl UnsafeUnpin for DoubleCheck
impl UnwindSafe for DoubleCheck
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