pub enum Verdict<T> {
Proven {
cases: u64,
},
Refuted {
counterexample: T,
checked: u64,
},
}Expand description
The outcome of a proof attempt over a domain.
Variants§
Proven
The predicate held for every one of cases inputs — a proof over the domain.
Refuted
The predicate failed; counterexample is the input that broke it, after checked passing inputs.
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Verdict<T>
impl<T: PartialEq> StructuralPartialEq for Verdict<T>
Auto Trait Implementations§
impl<T> Freeze for Verdict<T>where
T: Freeze,
impl<T> RefUnwindSafe for Verdict<T>where
T: RefUnwindSafe,
impl<T> Send for Verdict<T>where
T: Send,
impl<T> Sync for Verdict<T>where
T: Sync,
impl<T> Unpin for Verdict<T>where
T: Unpin,
impl<T> UnsafeUnpin for Verdict<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Verdict<T>where
T: UnwindSafe,
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