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

Struct postgres::tls::native_tls::NativeTls [] [src]

pub struct NativeTls(_);

A TlsHandshake implementation that uses the native-tls crate.

Requires the with-native-tls feature.

Methods

impl NativeTls
[src]

Creates a new NativeTls with its default configuration.

Returns a reference to the inner TlsConnector.

Returns a mutable reference to the inner TlsConnector.

Trait Implementations

impl Debug for NativeTls
[src]

Formats the value using the given formatter.

impl From<TlsConnector> for NativeTls
[src]

Performs the conversion.

impl TlsHandshake for NativeTls
[src]

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