[]Trait oxidizer::migration::AsyncMigrate

pub trait AsyncMigrate: AsyncQuery<Vec<Migration>> {
#[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
, { ... }
#[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
, { ... }
#[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
, { ... } }

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, 

#[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, 

#[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, 

Loading content...

Implementations on Foreign Types

impl AsyncMigrate for Client

Loading content...

Implementors

impl AsyncMigrate for Config

Loading content...