Thanks to visit codestin.com
Credit goes to docs.rs

Struct postgres::tls::openssl::OpenSsl [] [src]

pub struct OpenSsl { /* fields omitted */ }

A TlsHandshake implementation that uses OpenSSL.

Requires the with-openssl feature.

Methods

impl OpenSsl
[src]

Creates a OpenSsl with SslConnector's default configuration.

Returns a reference to the inner SslConnector.

Returns a mutable reference to the inner SslConnector.

If set, the SslConnector::danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indication method will be used to connect.

If certificate verification has been disabled in the SslConnector, verification must be additionally disabled here for that setting to take effect.

Trait Implementations

impl Debug for OpenSsl
[src]

Formats the value using the given formatter.

impl From<SslConnector> for OpenSsl
[src]

Performs the conversion.

impl TlsHandshake for OpenSsl
[src]

Performs a client-side TLS handshake, returning a wrapper around the provided stream. Read more