StatementExecutorConfigurator

Trait StatementExecutorConfigurator 

Source
pub trait StatementExecutorConfigurator: Send + Sync {
    // Required method
    fn configure<'life0, 'async_trait>(
        &'life0 self,
        executor: StatementExecutor,
        ctx: ExecutorConfigureContext,
    ) -> Pin<Box<dyn Future<Output = Result<StatementExecutor, BoxedError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A configurator that customizes or enhances a StatementExecutor.

Required Methods§

Source

fn configure<'life0, 'async_trait>( &'life0 self, executor: StatementExecutor, ctx: ExecutorConfigureContext, ) -> Pin<Box<dyn Future<Output = Result<StatementExecutor, BoxedError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§