referrerpolicy=no-referrer-when-downgrade

Trait sp_runtime::traits::BlockNumber

source ·
pub trait BlockNumber: Member + MaybeSerializeDeserialize + MaybeFromStr + Debug + Hash + Copy + MaybeDisplay + AtLeast32BitUnsigned + Into<U256> + TryFrom<U256> + Default + TypeInfo + MaxEncodedLen + FullCodec { }
Expand description

Super trait with all the attributes for a block number.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Member + MaybeSerializeDeserialize + MaybeFromStr + Debug + Hash + Copy + MaybeDisplay + AtLeast32BitUnsigned + Into<U256> + TryFrom<U256> + Default + TypeInfo + MaxEncodedLen + FullCodec> BlockNumber for T