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 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 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§impl PartialOrd for CheckOutcome
impl PartialOrd for CheckOutcome
impl 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