Enum postgres::SslMode [] [src]

pub enum SslMode<'a> {
    None,
    Prefer(&'a NegotiateSsl),
    Require(&'a NegotiateSsl),
}

Specifies the SSL support requested for a new connection.

Variants

The connection will not use SSL.

The connection will use SSL if the backend supports it.

The connection must use SSL.

Trait Implementations

impl<'a> Debug for SslMode<'a>
[src]

Formats the value using the given formatter.