pub trait TransactionManager: Send + Sync {
type Transaction: Transaction;
// Required method
fn begin_transaction<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 QueryContext,
) -> Pin<Box<dyn Future<Output = DatabaseResult<Self::Transaction>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}