[−][src]Trait sp_externalities::ExtensionStore
Something that provides access to the Extensions
store.
This is a super trait of the Externalities
.
Required methods
fn extension_by_type_id(&mut self, type_id: TypeId) -> Option<&mut dyn Any>
Tries to find a registered extension by the given type_id
and returns it as a &mut dyn Any
.
It is advised to use ExternalitiesExt::extension
instead of this function to get type system support and automatic type downcasting.