Expand description
PostgreSQL database driver.
Re-exports§
pub use types::PgHasArrayType;
Modules§
- types
- Conversions between Rust and Postgres types.
Structs§
- PgAdvisory
Lock - A mutex-like type utilizing Postgres advisory locks.
- PgAdvisory
Lock Guard - A wrapper for
PgConnection
(or a similar type) that represents a held Postgres advisory lock. - PgArgument
Buffer - PgArguments
- Implementation of
Arguments
for PostgreSQL. - PgColumn
- PgConnect
Options - Options and flags which can be used to configure a PostgreSQL connection.
- PgConnection
- A connection to a PostgreSQL database.
- PgCopy
In - A connection in streaming
COPY FROM STDIN
mode. - PgDatabase
Error - An error returned from the PostgreSQL database.
- PgListener
- A stream of asynchronous notifications from Postgres.
- PgNotification
- An asynchronous notification from Postgres.
- PgQuery
Result - PgRow
- Implementation of
Row
for PostgreSQL. - PgStatement
- PgTransaction
Manager - Implementation of [
TransactionManager
] for PostgreSQL. - PgType
Info - Type information for a PostgreSQL type.
- PgValue
- Implementation of
Value
for PostgreSQL. - PgValue
Ref - Implementation of
ValueRef
for PostgreSQL. - Postgres
- PostgreSQL database driver.
Enums§
- PgAdvisory
Lock Key - A key type natively used by Postgres advisory locks.
- PgError
Position - PgSeverity
- PgSsl
Mode - Options for controlling the level of protection provided for PostgreSQL SSL connections.
- PgType
Kind - PgValue
Format
Traits§
- PgExecutor
- An alias for
Executor<'_, Database = Postgres>
. - PgPool
Copy Ext - Implements methods for directly executing
COPY FROM/TO STDOUT
on aPgPool
.
Type Aliases§
- PgPool
- An alias for
Pool
, specialized for Postgres. - PgPool
Options - An alias for
PoolOptions
, specialized for Postgres. - PgTransaction
- An alias for
Transaction
, specialized for Postgres.