Crate inline_postgres_impl

Source

Re-exports§

pub use tokio_postgres as postgres;
pub use schema::*;

Modules§

binary_copy
Utilities for working with the PostgreSQL binary copy format.
config
Connection configuration.
error
Errors.
key
prelude
Re-exports traits such that the functions can be used without manually importing them.
row
Rows.
schema
tls
TLS support.
types
Types.
untyped_key

Structs§

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.
InsertOptions
NoTls
A MakeTlsConnect and TlsConnect implementation which simply returns an error.
Notification
An asynchronous notification.
Portal
A portal.
Query
The base type that is returned by the SQL query macros.
Ref
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
Transaction
A representation of a PostgreSQL database transaction.
TransactionBuilder
A builder for database transactions.
WhereClause
A where clause generated by [iff!]

Enums§

AsyncMessage
An asynchronous message from the server.
IsolationLevel
The isolation level of a database transaction.
SimpleQueryMessage
Message returned by the SimpleQuery stream.

Traits§

Exec
Helper Trait to implement the exec method on Client.
Fetch
Helper Trait to implement the fetch method on Client.
GenericClient
A trait allowing abstraction over connections and transactions.
Table
TableHelper
ToStatement
A trait abstracting over prepared and unprepared statements.

Functions§

connect
A convenience function which parses a connection string and connects to the database.

Attribute Macros§

async_trait