pub trait Transaction {
    // Provided methods
    fn begin<'life0, 'async_trait>(
        &'life0 mut self,
        autocommit: bool
    ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait { ... }
    fn rollback<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait { ... }
    fn commit<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait { ... }
}

Provided Methods§

source

fn begin<'life0, 'async_trait>( &'life0 mut self, autocommit: bool ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + 'async_trait>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn rollback<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn commit<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where 'life0: 'async_trait, Self: 'async_trait,

Implementors§