Trait sc_executor::RuntimeInfo [−][src]
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]
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion>
Extract RuntimeVersion
of the given runtime_code
.
Implementors
impl<D: NativeExecutionDispatch> RuntimeInfo for NativeExecutor<D>
[src]
fn native_version(&self) -> &NativeVersion
[src]
fn runtime_version(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion>
[src]
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>
) -> Result<RuntimeVersion>