pub enum CheckOutcome {
Success(u64),
Fail(SolutionFailReason),
}Expand description
Outcome of a solution check.
Variants§
Success(u64)
The solution was successful in this block.
Fail(SolutionFailReason)
The solution failed.
Trait Implementations§
source§impl Clone for CheckOutcome
impl Clone for CheckOutcome
source§fn clone(&self) -> CheckOutcome
fn clone(&self) -> CheckOutcome
Returns a copy 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 CheckOutcome
impl Debug for CheckOutcome
source§impl Hash for CheckOutcome
impl Hash for CheckOutcome
source§impl Ord for CheckOutcome
impl Ord for CheckOutcome
source§fn cmp(&self, other: &CheckOutcome) -> Ordering
fn cmp(&self, other: &CheckOutcome) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CheckOutcome
impl PartialEq for CheckOutcome
source§fn eq(&self, other: &CheckOutcome) -> bool
fn eq(&self, other: &CheckOutcome) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CheckOutcome
impl PartialOrd for CheckOutcome
source§fn partial_cmp(&self, other: &CheckOutcome) -> Option<Ordering>
fn partial_cmp(&self, other: &CheckOutcome) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for CheckOutcome
impl StructuralPartialEq for CheckOutcome
Auto Trait Implementations§
impl Freeze for CheckOutcome
impl RefUnwindSafe for CheckOutcome
impl Send for CheckOutcome
impl Sync for CheckOutcome
impl Unpin for CheckOutcome
impl UnwindSafe for CheckOutcome
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)