pub trait StoreInCodeStorageVersion<T: GetStorageVersion + PalletInfoAccess> {
// Required method
fn store_in_code_storage_version();
}
Expand description
Can store the in-code pallet version on-chain.
Required Methods§
Sourcefn store_in_code_storage_version()
fn store_in_code_storage_version()
Write the in-code storage version on-chain.
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.