[−][src]Trait refinery_core::AsyncMigrate
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]
&'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, [src]
&'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, [src]
&'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,
Implementations on Foreign Types
impl AsyncMigrate for Client[src]
impl AsyncMigrate for Pool[src]
Loading content...Implementors
impl AsyncMigrate for Config[src]
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: 'async_trait, [src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Migration>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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: 'async_trait, [src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Migration>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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: 'async_trait, [src]
&'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: 'async_trait,