Struct native_tls::TlsAcceptorBuilder[][src]

pub struct TlsAcceptorBuilder { /* fields omitted */ }

A builder for TlsAcceptors.

Methods

impl TlsAcceptorBuilder
[src]

Sets the minimum supported protocol version.

A value of None enables support for the oldest protocols supported by the implementation.

Defaults to Some(Protocol::Tlsv10).

Sets the maximum supported protocol version.

A value of None enables support for the newest protocols supported by the implementation.

Defaults to None.

Creates a new TlsAcceptor.

Auto Trait Implementations