pub enum PowError {
DifficultyTooHigh {
demanded: u8,
cap: u8,
},
Exhausted,
}Expand description
Error from the bounded / capped PoW solver (H3).
Variants§
DifficultyTooHigh
Difficulty above the client’s MAX_CLIENT_POW_DIFFICULTY.
Exhausted
solve exhausted MAX_SOLVE_ITERATIONS without a solution.
Trait Implementations§
impl Eq for PowError
impl StructuralPartialEq for PowError
Auto Trait Implementations§
impl Freeze for PowError
impl RefUnwindSafe for PowError
impl Send for PowError
impl Sync for PowError
impl Unpin for PowError
impl UnsafeUnpin for PowError
impl UnwindSafe for PowError
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