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 |
| to_sql_checked |
Generates an implementation of |
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. |