Crate postgres_rustls

Source
Expand description

gitcrates-iodocs-rs

postgres_rustls is a library that adds TLS support to tokio_postgres using tokio_rustls.

Structs§

MakeTlsConnectorruntime
MakeTlsConnect based on tokio_rustls::TlsConnector.
TlsConnector
Connects to the PostgreSQL server.
TlsConnectorFuture
TlsConnector::Future returned from TlsConnector::connect.
TlsStream
The TlsConnector::Stream returned from TlsConnectorFuture::poll.

Functions§

set_postgresql_alpn
Removes any ALPN values and adds the b"postgresql" ALPN.