referrerpolicy=no-referrer-when-downgrade

Trait sc_consensus_grandpa::BlockNumberOps

pub trait BlockNumberOps: Debug + Ord + Add<Output = Self> + Sub<Output = Self> + One + Zero + AsPrimitive<usize> { }
Expand description

Arithmetic necessary for a block number.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> BlockNumberOps for T
where T: Ord + Add<Output = T> + Sub<Output = T> + Debug + One + Zero + AsPrimitive<usize>,