Trait GetExtension
sc_chain_spec
pub trait GetExtension { fn get_any(&self, t: TypeId) -> &dyn Any; }
A subset if the Extension trait that only allows for quering extensions.
Extension
fn get_any(&self, t: TypeId) -> &dyn Any
Get an extension of specific type.
impl<E: Extension> GetExtension for E