pub trait BuildModuleGenesisStorage<T, I>: Sized {
    // Required method
    fn build_module_genesis_storage(
        &self,
        storage: &mut Storage
    ) -> Result<(), String>;
}
👎Deprecated: BuildModuleGenesisStorage is planned to be removed in December 2023. Use BuildStorage instead of it.
Expand description

Something that can build the genesis storage of a module.

Required Methods§

source

fn build_module_genesis_storage( &self, storage: &mut Storage ) -> Result<(), String>

👎Deprecated: BuildModuleGenesisStorage is planned to be removed in December 2023. Use BuildStorage instead of it.

Create the module genesis storage into the given storage and child_storage.

Object Safety§

This trait is not object safe.

Implementors§