Expand description
postgres_rustls
is a library that adds TLS support to tokio_postgres
using tokio_rustls
.
Structs§
- Make
TlsConnector runtime
MakeTlsConnect
based ontokio_rustls::TlsConnector
.- TlsConnector
- Connects to the PostgreSQL server.
- TlsConnector
Future TlsConnector::Future
returned fromTlsConnector::connect
.- TlsStream
- The
TlsConnector::Stream
returned fromTlsConnectorFuture::poll
.
Functions§
- set_
postgresql_ alpn - Removes any ALPN values and adds the
b"postgresql"
ALPN.