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