pub trait MultiStepMigrator {
// Required methods
fn ongoing() -> bool;
fn step() -> Weight;
}
Expand description
Something that can do multi step migrations.
Required Methods§
Sourcefn ongoing() -> bool
fn ongoing() -> bool
Hint for whether Self::step
should be called.
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.