pub trait ExecutorMut: RbatisRef {
fn exec<'life0, 'life1, 'async_trait>(
&'life0 mut self,
sql: &'life1 str,
args: Vec<Bson>
) -> Pin<Box<dyn Future<Output = Result<DBExecResult, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn fetch<'life0, 'life1, 'async_trait, T>(
&'life0 mut self,
sql: &'life1 str,
args: Vec<Bson>
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send + 'async_trait>>
where
T: DeserializeOwned,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}