[][src]Module deadpool_postgres::config

This module describes configuration used for Pool creation.

Structs

Config

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

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.

Enums

ChannelBinding

Channel binding configuration.

ConfigError

An error which is returned by Config::create_pool if something is wrong with the configuration.

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.

SslMode

TLS configuration.

TargetSessionAttrs

Properties required of a session.