Skip to main content

make_executor_factory

Function make_executor_factory 

Source
pub fn make_executor_factory<A: FromPoolConfig + 'static>() -> TenantExecutorFactory<A>
Expand description

Create a TenantExecutorFactory for an adapter that implements FromPoolConfig.

Captures the FromPoolConfig bound at construction time so that the factory can be stored as a type-erased closure in AppState.