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§
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,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".