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
Require(Box<Handshake>)The connection must use TLS.
Prefer(Box<Handshake>)The connection will use TLS if available.
NoneThe connection will not use TLS.