Crate xitca_postgres
source ·Expand description
A postgresql client on top of rust-postgres
This crate shares a similar feature set and public API with tokio-postgres
with some differences:
§Pipelining
offer both “implicit” and explicit API. support for more relaxed pipeline.
§SSL/TLS support
powered by rustls
§QUIC transport layer
offer transparent QUIC transport layer and proxy for lossy remote database connection
§Connection Pool
built in connection pool with pipelining support enabled
Re-exports§
pub use self::error::Error;
Modules§
- traits for extending functionalities through external crate
- library error types with re-export error from
rust-postgres
- explicit pipelining module
- Rows. mostly copy/paste from
tokio-postgres
- Statement module is mostly copy/paste from
tokio_postgres::statement
- Types.
Structs§
- Client is a handler type for
Driver
. it interacts with latter using channel and message for IO operation and de/encoding of postgres protocol in byte format. - information about session. used for canceling query
Enums§
- async driver of
Client
Traits§
- async streaming iterator with borrowed Item from Self.
- extension trait for FromSql
Type Aliases§
- A stream of simple query results.
- A stream of table rows.