referrerpolicy=no-referrer-when-downgrade

Trait polkadot_omni_node_lib::chain_spec::LoadSpec

source ·
pub trait LoadSpec {
    // Required method
    fn load_spec(&self, id: &str) -> Result<Box<dyn ChainSpec>, String>;
}
Expand description

Helper trait used for loading/building a chain spec starting from the chain ID.

Required Methods§

source

fn load_spec(&self, id: &str) -> Result<Box<dyn ChainSpec>, String>

Load/Build a chain spec starting from the chain ID.

Implementors§