Struct native_tls::TlsAcceptorBuilder [] [src]

pub struct TlsAcceptorBuilder(_);

A builder for TlsAcceptors.

Methods

impl TlsAcceptorBuilder
[src]

[src]

Sets the protocols which the acceptor 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.

[src]

Consumes the builder, returning a TlsAcceptor.