Trait gclient::ext::sp_runtime::BuildModuleGenesisStorage
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§
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.
fn build_module_genesis_storage( &self, storage: &mut Storage, ) -> Result<(), String>
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.