ToTypeRegistry

Trait ToTypeRegistry 

Source
pub trait ToTypeRegistry: Sealed {
    // Required method
    fn to_type_registry(&self) -> Result<TypeRegistry, ParseError>;
}
Expand description

This is used with the type_registry_from_metadata helper function to extract types from the metadata. It is not intended to be implemented on anything else.

Required Methods§

Source

fn to_type_registry(&self) -> Result<TypeRegistry, ParseError>

Return a type registry.

Implementations on Foreign Types§

Source§

impl ToTypeRegistry for RuntimeMetadataV8

Source§

impl ToTypeRegistry for RuntimeMetadataV9

Source§

impl ToTypeRegistry for RuntimeMetadataV10

Source§

impl ToTypeRegistry for RuntimeMetadataV11

Source§

impl ToTypeRegistry for RuntimeMetadataV12

Source§

impl ToTypeRegistry for RuntimeMetadataV13

Implementors§