Skip to main content

Module tunnel

Module tunnel 

Source

Macros§

bail_generic 🔒

Structs§

Client
A wrapper for tokio_postgres::Client that can report the server version.
Config
Configuration for PostgreSQL connections.

Enums§

TunnelConfig
Configures an optional tunnel for use when connecting to a PostgreSQL database.

Constants§

DEFAULT_SNAPSHOT_STATEMENT_TIMEOUT

Functions§

is_authentication_failure 🔒
Reports whether the server refused the connection’s credentials, which is SQLSTATE class 28.