Enum postgres::SslMode
[−]
[src]
pub enum SslMode { None, Prefer(SslContext), Require(SslContext), }
Specifies the SSL support requested for a new connection.
Variants
None
The connection will not use SSL.
Prefer(SslContext)
The connection will use SSL if the backend supports it.
Require(SslContext)
The connection must use SSL.