pub trait TransactionCapable: Queryablewhere
    Self: Sized,{
    // Provided method
    fn start_transaction<'life0, 'async_trait>(
        &'life0 self,
        isolation: Option<IsolationLevel>
    ) -> Pin<Box<dyn Future<Output = Result<Transaction<'_>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

A thing that can start a new transaction.

Provided Methods§

source

fn start_transaction<'life0, 'async_trait>( &'life0 self, isolation: Option<IsolationLevel> ) -> Pin<Box<dyn Future<Output = Result<Transaction<'_>>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Starts a new transaction

Implementors§