referrerpolicy=no-referrer-when-downgrade

Function sc_chain_spec::get_extension

source ·
pub fn get_extension<T: 'static>(e: &dyn GetExtension) -> Option<&T>
Expand description

Helper function that queries an extension by type from GetExtension trait object.