pub async fn with_pool_scope<F: Future<Output = O>, O>(
pool: PgPool,
fut: F,
) -> OExpand description
Run a future with a pool bound as this module’s request pool — the host relay’s per-tenant consumers use this so module-side consumers resolve the tenant database through their rpool() (ADR-0029 pool law).