pub trait LocalRegistry: Sized + Clone {
    fn from_hex(hex: &str) -> Result<Self>;
    fn derive_id(&self, id: u32) -> Result<LocalType<'_, PortableForm>>;
    fn derive_name(&self, ident: &str) -> Result<LocalType<'_, PortableForm>>;
}
Expand description

Local type registry

Required Methods

Get type from identity

Get type from identity name

TODO

Adding a indexer to register types for re-using, currently we don’t have this requirements

Implementations on Foreign Types

Implementors