Struct hyper_native_tls::NativeTlsServer [] [src]

pub struct NativeTlsServer(_);

An SslServer implementation using native-tls.

Methods

impl NativeTlsServer
[src]

Returns a NativeTlsServer with a default configuration.

To customize the configuration, build a TlsAcceptor and then use NativeTlsServer's From implementation.

Trait Implementations

impl Clone for NativeTlsServer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<TlsAcceptor> for NativeTlsServer
[src]

Performs the conversion.

impl<T> SslServer<T> for NativeTlsServer where
    T: NetworkStream + Send + Clone + Debug + Sync
[src]

The protected stream.

Wrap a server stream with SSL.