referrerpolicy=no-referrer-when-downgrade

Trait polkadot_service::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> BlockNumber for T
where T: Member + MaybeSerializeDeserialize + MaybeFromStr + Debug + Hash + Copy + MaybeDisplay + AtLeast32BitUnsigned + Into<U256> + TryFrom<U256> + Default + TypeInfo + MaxEncodedLen + FullCodec,