[][src]Trait sc_executor::RuntimeInfo

pub trait RuntimeInfo {
    fn native_version(&self) -> &NativeVersion;
fn runtime_version(
        &self,
        ext: &mut dyn Externalities,
        runtime_code: &RuntimeCode
    ) -> Result<RuntimeVersion>; }

Provides runtime information.

Required methods

fn native_version(&self) -> &NativeVersion

Native runtime information.

fn runtime_version(
    &self,
    ext: &mut dyn Externalities,
    runtime_code: &RuntimeCode
) -> Result<RuntimeVersion>

Extract RuntimeVersion of the given runtime_code.

Loading content...

Implementors

impl<D: NativeExecutionDispatch> RuntimeInfo for NativeExecutor<D>[src]

Loading content...