pub trait PalletVersionToStorageVersionHelper {
// Required method
fn migrate(db_weight: &RuntimeDbWeight) -> Weight;
}
Expand description
Trait used by migrate_from_pallet_version_to_storage_version
to do the actual migration.
Required Methods§
fn migrate(db_weight: &RuntimeDbWeight) -> Weight
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.