referrerpolicy=no-referrer-when-downgrade

Trait sp_api::RuntimeApiInfo

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

Something that provides information about a runtime api.

Required Associated Constants§

source

const ID: [u8; 8]

The identifier of the runtime api.

source

const VERSION: u32

The version of the runtime api.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Block: BlockT> RuntimeApiInfo for dyn Core<Block>

source§

const ID: [u8; 8] = _

source§

const VERSION: u32 = 5u32

source§

impl<Block: BlockT> RuntimeApiInfo for dyn Metadata<Block>

source§

const ID: [u8; 8] = _

source§

const VERSION: u32 = 2u32