Trait sqlx_core::migrate::MigrateDatabase
source · pub trait MigrateDatabase {
// Required methods
fn create_database(uri: &str) -> BoxFuture<'_, Result<(), Error>>;
fn database_exists(uri: &str) -> BoxFuture<'_, Result<bool, Error>>;
fn drop_database(uri: &str) -> BoxFuture<'_, Result<(), Error>>;
}
Required Methods§
fn create_database(uri: &str) -> BoxFuture<'_, Result<(), Error>>
fn database_exists(uri: &str) -> BoxFuture<'_, Result<bool, Error>>
fn drop_database(uri: &str) -> BoxFuture<'_, Result<(), Error>>
Object Safety§
This trait is not object safe.