Struct native_tls::TlsConnectorBuilder [] [src]

pub struct TlsConnectorBuilder(_);

A builder for TlsConnectors.

Methods

impl TlsConnectorBuilder
[src]

Sets the identity to be used for client certificate authentication.

Sets the protocols which the connector will support.

The protocols supported by default are currently TLS 1.0, TLS 1.1, and TLS 1.2, though this is subject to change.

Consumes the builder, returning a TlsConnector.

Trait Implementations

impl TlsConnectorBuilderExt for TlsConnectorBuilder
[src]

Specifies the set of additional root certificates to trust when verifying the server's certificate. Read more