Trait sc_chain_spec::GetExtension[][src]

pub trait GetExtension {
    fn get_any(&self, t: TypeId) -> &dyn Any;
}

A subset if the Extension trait that only allows for quering extensions.

Required methods

fn get_any(&self, t: TypeId) -> &dyn Any[src]

Get an extension of specific type.

Loading content...

Implementors

impl<E: Extension> GetExtension for E[src]

Loading content...