Skip to main content

RuntimeApiInfo

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Block: BlockT, __Sr_Api_Error__> RuntimeApiInfo for dyn Core<Block, Error = __Sr_Api_Error__>

Available on crate features std only.
Source§

const ID: [u8; 8]

Source§

const VERSION: u32 = 3u32

Source§

impl<Block: BlockT, __Sr_Api_Error__> RuntimeApiInfo for dyn Metadata<Block, Error = __Sr_Api_Error__>

Available on crate features std only.
Source§

const ID: [u8; 8]

Source§

const VERSION: u32 = 1u32