pub trait MigrationHandler {
type Genesis;
// Provided method
fn init_or_migrate<C: Context>(
_ctx: &C,
_meta: &mut Metadata,
_genesis: Self::Genesis,
) -> bool { ... }
}
Expand description
Migration handler.
Required Associated Types§
Provided 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.