referrerpolicy=no-referrer-when-downgrade

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

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

§

const ID: [u8; 8]

§

const VERSION: u32 = 1u32

§

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 = 2u32

§

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