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.
pub fn get_extension<T: 'static>(e: &dyn GetExtension) -> Option<&T>
Helper function that queries an extension by type from GetExtension
trait object.