pub trait MigrationTool {
// Required methods
fn execute_migration(
&self,
migration_plan: &MigrationPlan,
) -> DeviceResult<MigrationResult>;
fn get_tool_name(&self) -> String;
}Expand description
Migration tool trait
Required Methods§
fn execute_migration( &self, migration_plan: &MigrationPlan, ) -> DeviceResult<MigrationResult>
fn get_tool_name(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".