Trait sc_executor::RuntimeVersionOf
source · pub trait RuntimeVersionOf {
// Required method
fn runtime_version(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>,
) -> Result<RuntimeVersion>;
}
Expand description
Extracts the runtime version of a given runtime code.
Required Methods§
sourcefn runtime_version(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode<'_>,
) -> Result<RuntimeVersion>
fn runtime_version( &self, ext: &mut dyn Externalities, runtime_code: &RuntimeCode<'_>, ) -> Result<RuntimeVersion>
Extract RuntimeVersion
of the given runtime_code
.