Crate tokio_postgres [] [src]

An asynchronous Postgres driver using Tokio.

Modules

error

Error types.

params

Connection parameters

rows

Postgres rows.

stmt

Prepared statements.

tls

TLS support.

transaction

Transactions.

types

Postgres types

Macros

accepts

Generates a simple implementation of ToSql::accepts which accepts the types passed to it.

to_sql_checked

Generates an implementation of ToSql::to_sql_checked.

Structs

CancelData

Contains information necessary to cancel queries for a session.

Connection

A connection to a Postgres database.

Enums

TlsMode

Specifies the TLS support required for a new connection.

Functions

cancel_query

Attempts to cancel an in-progress query.