Trait sc_executor::RuntimeInfo[][src]

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[src]

Native runtime information.

fn runtime_version(
    &self,
    ext: &mut dyn Externalities,
    runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion>
[src]

Extract RuntimeVersion of the given runtime_code.

Loading content...

Implementors

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

Loading content...