[][src]Trait refinery_core::AsyncMigrate

pub trait AsyncMigrate: AsyncQuery<Vec<Migration>> where
    Self: Sized
{ #[must_use] pub fn get_last_applied_migration<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] pub fn get_applied_migrations<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] pub 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>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Send + 'async_trait
, { ... } }

Provided methods

#[must_use]pub fn get_last_applied_migration<'life0, 'async_trait>(
    &'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Send + 'async_trait, 
[src]

#[must_use]pub fn get_applied_migrations<'life0, 'async_trait>(
    &'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Send + 'async_trait, 
[src]

#[must_use]pub 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>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: Send + 'async_trait, 
[src]

Loading content...

Implementations on Foreign Types

impl AsyncMigrate for Client[src]

impl AsyncMigrate for Pool[src]

Loading content...

Implementors

impl AsyncMigrate for Config[src]

Loading content...