Trait AsFillMetadata

Source
pub trait AsFillMetadata<E: ExternalMemory>: AsCompleteMetadata<E> {
    type PalletMetadata: AsPalletMetadata<E> + Clone + Debug;

    // Required methods
    fn pallets(&self) -> Vec<Self::PalletMetadata>;
    fn defined_tx_version(&self) -> Option<Unsigned>;
    fn spec_version(&self) -> Result<Unsigned, Self::MetaStructureError>;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<E: ExternalMemory> AsFillMetadata<E> for RuntimeMetadataV14

Source§

impl<E: ExternalMemory> AsFillMetadata<E> for RuntimeMetadataV15

Implementors§