referrerpolicy=no-referrer-when-downgrade
pub trait RuntimeResolver {
    // Required method
    fn runtime(&self, chain_spec: &dyn ChainSpec) -> Result<Runtime>;
}
Expand description

Helper trait used for extracting the Runtime variant from the chain spec ID.

Required Methods§

source

fn runtime(&self, chain_spec: &dyn ChainSpec) -> Result<Runtime>

Extract the Runtime variant from the chain spec ID.

Implementors§