pub trait MigrateExternalInterface {
// Required methods
fn get_stored_state_version() -> u32;
fn get_target_state_version() -> u32;
fn needs_migration() -> bool;
}Required Methods§
fn get_stored_state_version() -> u32
fn get_target_state_version() -> u32
fn needs_migration() -> bool
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.