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§
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.