pub trait Migration<S, D>{
// Required method
fn execute_migration(
client: &'static Client,
db_name: String,
host: String,
) -> Box<dyn Future<Output = Result<bool, Box<dyn Error>>>>;
}
Required Methods§
fn execute_migration( client: &'static Client, db_name: String, host: String, ) -> Box<dyn Future<Output = Result<bool, Box<dyn Error>>>>
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.