Module tokio_postgres::tls

source ·
Expand description

TLS support.


  • Channel binding information returned from a TLS handshake.
  • A MakeTlsConnect and TlsConnect implementation which simply returns an error.
  • The error returned by NoTls.
  • The future returned by NoTls.


  • The TLS “stream” type produced by the NoTls connector.


  • A constructor of TlsConnectors.
  • An asynchronous function wrapping a stream in a TLS session.
  • A TLS-wrapped connection to a PostgreSQL database.