[][src]Module c3p0_postgres::deadpool::postgres

Modules

config

This module describes configuration used for Pool creation.

tokio_postgres

An asynchronous, pipelined, PostgreSQL client.

Structs

ClientWrapper

A wrapper for tokio_postgres::Client which includes a statement cache.

Config

Configuration object. By enabling the config feature you can read the configuration using the config crate.

Manager

The manager for creating and recyling postgresql connections

ManagerConfig

Configuration object for the manager. This currently only makes it possible to specify which recycling method should be used when retrieving existing objects from the pool.

StatementCache

This structure holds the cached statements and provides access to functions for retrieving the current size and clearing the cache.

Transaction

A wrapper for tokio_postgres::Transaction which uses the statement cache from the client object it was created by.

TransactionBuilder

A wrapper for tokio_postgres::TransactionBuilder which uses the statement cache from the client object it was created by.

Enums

RecyclingMethod

This enum is used to control how the connection is recycled. Attention: The current default is Verified but will be changed to Fast in the next minor release of deadpool-postgres. Please make sure to explicitly state this if you want to keep using the Verified recycling method.

Type Definitions

Client

A type alias for using deadpool::Object with tokio_postgres

Pool

A type alias for using deadpool::Pool with tokio_postgres

PoolError

A type alias for using deadpool::PoolError with tokio_postgres