sc_chain_spec

Function 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.