Trait BuildGenesisConfig
pub trait BuildGenesisConfig: MaybeSerializeDeserialize {
// Required method
fn build(&self);
}
Expand description
A trait to define the build function of a genesis config for both runtime and pallets.
Replaces deprecated GenesisBuild<T,I>
.
Required Methods§
fn build(&self)
fn build(&self)
The build function puts initial GenesisConfig
keys/values pairs into the storage.
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.