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§

Object Safety§

This trait is not object safe.

Implementors§