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
NoneThe connection will not use SSL.
Prefer(Box<NegotiateSsl + Sync + Send>)The connection will use SSL if the backend supports it.
Require(Box<NegotiateSsl + Sync + Send>)The connection must use SSL.