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]

Returns a shared reference to the inner SslConnectorBuilder.

Returns a mutable reference to the inner SslConnectorBuilder.