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