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

None

The connection will not use SSL.

Prefer

The connection will use SSL if the backend supports it.

Require

The connection must use SSL.

Trait Implementations

Derived Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result