Skip to main content

Module pool

Module pool 

Source
Expand description

Connection pool — thin wrapper over bsql_driver_postgres::Pool.

Delegates all connection management, fail-fast semantics, and LIFO ordering to the driver. This layer adds only the bsql error type conversions.

Structs§

PgPool
A PostgreSQL connection pool.
PoolBuilder
Builder for configuring a connection pool.
PoolConnection
A connection borrowed from the pool.
PoolStatus
Snapshot of pool utilization.
RawRow
A row of text values from a raw (unvalidated) SQL query.

Type Aliases§

Pool
Backward-compatible type alias. Use PgPool for new code.