pub trait Migratable: ExecutesWithRawQuery + Sync + Send {
    // Provided method
    fn migrate<'life0, 'async_trait>(
        client: &'life0 Self::RawQueryClient,
        migrations: Vec<impl 'async_trait + AsRef<str> + Send + Sync>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: Sized + 'async_trait,
             'life0: 'async_trait { ... }
}

Provided Methods§

source

fn migrate<'life0, 'async_trait>( client: &'life0 Self::RawQueryClient, migrations: Vec<impl 'async_trait + AsRef<str> + Send + Sync> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: Sized + 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§