pub fn provide_pg_sql_client<E: Send + 'static>(
pool: PgPool,
) -> Layer<PgSqlEnv, E>Expand description
A Layer providing pool as both SqlClientService (a PgSqlClient) and
PgPool. It neither checks nor closes the pool (the caller owns it); use
PgSqlClient::layer for the scoped variant.