Enum tokio_postgres::TlsMode [] [src]

pub enum TlsMode {
    Require(Box<Handshake>),
    Prefer(Box<Handshake>),
    None,
}

Specifies the TLS support required for a new connection.

Variants

The connection must use TLS.

The connection will use TLS if available.

The connection will not use TLS.