Module tokio_postgres
Source - binary_copy
- Utilities for working with the PostgreSQL binary copy format.
- config
- Connection configuration.
- error
- Errors.
- fallible_iterator
- “Fallible” iterators.
- row
- Rows.
- tls
- TLS support.
- types
- Types.
- CancelToken
- The capability to request cancellation of in-progress queries on a
connection.
- Client
- An asynchronous PostgreSQL client.
- Column
- Information about a column of a query.
- Config
- Connection configuration.
- Connection
- A connection to a PostgreSQL database.
- CopyInSink
- A sink for
COPY ... FROM STDIN
query data. - CopyOutStream
- A stream of
COPY ... TO STDOUT
query data. - Error
- An error communicating with the Postgres server.
- NoTls
- A
MakeTlsConnect
and TlsConnect
implementation which simply returns an error. - Notification
- An asynchronous notification.
- Portal
- A portal.
- Row
- A row of data returned from the database by a query.
- RowStream
- A stream of table rows.
- SimpleColumn
- Information about a column of a single query row.
- SimpleQueryRow
- A row of data returned from the database by a simple query.
- SimpleQueryStream
- A stream of simple query results.
- Socket
- The standard stream type used by the crate.
- Statement
- A prepared statement.
- Transaction
- A representation of a PostgreSQL database transaction.
- TransactionBuilder
- A builder for database transactions.
- AsyncMessage
- An asynchronous message from the server.
- IsolationLevel
- The isolation level of a database transaction.
- SimpleQueryMessage
- Message returned by the
SimpleQuery
stream.
- GenericClient
- A trait allowing abstraction over connections and transactions.
- ToStatement
- A trait abstracting over prepared and unprepared statements.
- connect
- A convenience function which parses a connection string and connects to the database.