pub enum PowOutcome {
Solved,
Rejected,
}Expand description
Outcome of a proof-of-work challenge.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PowOutcome
impl Clone for PowOutcome
Source§fn clone(&self) -> PowOutcome
fn clone(&self) -> PowOutcome
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 moreimpl Copy for PowOutcome
Source§impl Debug for PowOutcome
impl Debug for PowOutcome
impl Eq for PowOutcome
Source§impl Hash for PowOutcome
impl Hash for PowOutcome
Source§impl PartialEq for PowOutcome
impl PartialEq for PowOutcome
Source§fn eq(&self, other: &PowOutcome) -> bool
fn eq(&self, other: &PowOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PowOutcome
Auto Trait Implementations§
impl Freeze for PowOutcome
impl RefUnwindSafe for PowOutcome
impl Send for PowOutcome
impl Sync for PowOutcome
impl Unpin for PowOutcome
impl UnsafeUnpin for PowOutcome
impl UnwindSafe for PowOutcome
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