referrerpolicy=no-referrer-when-downgrade
sp_consensus_pow

Trait TotalDifficulty

Source
pub trait TotalDifficulty {
    // Required method
    fn increment(&mut self, other: Self);
}
Expand description

Define methods that total difficulty should implement.

Required Methods§

Source

fn increment(&mut self, other: Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TotalDifficulty for u128

Source§

fn increment(&mut self, other: Self)

Source§

impl TotalDifficulty for U256

Source§

fn increment(&mut self, other: Self)

Implementors§