[−]Trait oxidizer::migration::AsyncMigrate
Provided methods
#[must_use]fn get_last_applied_migration<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn get_applied_migrations<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn migrate<'life0, 'life1, 'async_trait>(
&'life0 mut self,
migrations: &'life1 [Migration],
abort_divergent: bool,
abort_missing: bool,
grouped: bool,
target: Target
) -> Pin<Box<dyn Future<Output = Result<Report, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
migrations: &'life1 [Migration],
abort_divergent: bool,
abort_missing: bool,
grouped: bool,
target: Target
) -> Pin<Box<dyn Future<Output = Result<Report, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Implementations on Foreign Types
impl AsyncMigrate for Client
Loading content...
Implementors
impl AsyncMigrate for Config
fn get_last_applied_migration<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Config: 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Config: 'async_trait,
fn get_applied_migrations<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Config: 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Config: 'async_trait,
fn migrate<'life0, 'life1, 'async_trait>(
&'life0 mut self,
migrations: &'life1 [Migration],
abort_divergent: bool,
abort_missing: bool,
grouped: bool,
target: Target
) -> Pin<Box<dyn Future<Output = Result<Report, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Config: 'async_trait,
&'life0 mut self,
migrations: &'life1 [Migration],
abort_divergent: bool,
abort_missing: bool,
grouped: bool,
target: Target
) -> Pin<Box<dyn Future<Output = Result<Report, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Config: 'async_trait,