Skip to main content

Module pool

Module pool 

Source

Structs§

PgConnectionManager
PgPool
PoolSize
How a pool is sized and how long it waits.

Enums§

PgError
Prompt
Whether a missing password may be asked for on the terminal.

Functions§

connect_one
Open a single connection using the same SSL fallback, auth retry, and application-name path as create_pool.
connect_one_with
connect_one for a caller that says whether a password may be asked for.
create_pool
Create a connection pool from a connection URL
create_pool_sized
create_pool with an explicit size.

Type Aliases§

PgConnection