Struct tokio_native_tls::native_tls::TlsAcceptorBuilder [−][src]
pub struct TlsAcceptorBuilder { /* fields omitted */ }Expand description
A builder for TlsAcceptors.
Implementations
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.
