referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::runtime::apis::RuntimeApiInfo

pub trait RuntimeApiInfo {
    const ID: [u8; 8];
    const VERSION: u32;
}
Expand description

Something that provides information about a runtime api.

Required Associated Constants§

const ID: [u8; 8]

The identifier of the runtime api.

const VERSION: u32

The version of the runtime api.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<Block> RuntimeApiInfo for dyn TryRuntime<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 1u32

Implementors§

§

impl<Block> RuntimeApiInfo for dyn Benchmark<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 1u32

§

impl<Block> RuntimeApiInfo for dyn BlockBuilder<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 6u32

§

impl<Block> RuntimeApiInfo for dyn Core<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 5u32

§

impl<Block> RuntimeApiInfo for dyn GenesisBuilder<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 1u32

§

impl<Block> RuntimeApiInfo for dyn GrandpaApi<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 3u32

§

impl<Block> RuntimeApiInfo for dyn Metadata<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 2u32

§

impl<Block> RuntimeApiInfo for dyn OffchainWorkerApi<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 2u32

§

impl<Block> RuntimeApiInfo for dyn SessionKeys<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 1u32

§

impl<Block> RuntimeApiInfo for dyn TaggedTransactionQueue<Block>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 3u32

§

impl<Block, AccountId, Nonce> RuntimeApiInfo for dyn AccountNonceApi<Block, AccountId, Nonce>
where Block: Block,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 1u32

§

impl<Block, AuthorityId> RuntimeApiInfo for dyn AuraApi<Block, AuthorityId>
where Block: Block, AuthorityId: Codec,

§

const ID: [u8; 8] = _

§

const VERSION: u32 = 1u32