[−][src]Trait sqlx::migrate::Migrate
Required methods
pub fn ensure_migrations_table(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn version(
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
pub fn lock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn unlock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn validate<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn apply<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn revert<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
Implementors
impl Migrate for AnyConnection
[src]
pub fn ensure_migrations_table(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn version(
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
pub fn lock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn unlock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn validate<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn apply<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn revert<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
impl Migrate for MySqlConnection
[src]
pub fn ensure_migrations_table(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn version(
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
pub fn lock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn unlock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn validate<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn apply<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn revert<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
impl Migrate for PgConnection
[src]
pub fn ensure_migrations_table(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn version(
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
pub fn lock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn unlock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn validate<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn apply<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn revert<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
impl Migrate for SqliteConnection
[src]
pub fn ensure_migrations_table(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn version(
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<Option<(i64, bool)>, MigrateError>> + Send, Global>>
pub fn lock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn unlock(
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
[src]
&mut self
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + Send, Global>>
pub fn validate<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<(), MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn apply<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
pub fn revert<'e, 'm>(
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,
[src]
&'e mut self,
migration: &'m Migration
) -> Pin<Box<dyn Future<Output = Result<Duration, MigrateError>> + 'm + Send, Global>> where
'e: 'm,