pub trait Executor {
// Required methods
fn new<'async_trait>(
) -> Pin<Box<dyn Future<Output = Arc<RwLock<Self>, Global>> + Send + 'async_trait, Global>>
where Self: 'async_trait;
fn begin<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), BaseError>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn commit<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), BaseError>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn rollback<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), BaseError>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
Self: 'async_trait;
}