sp_runtime::traits

Trait 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§