Struct hyper_native_tls::NativeTlsClient[][src]

pub struct NativeTlsClient { /* fields omitted */ }

An SslClient implementation using native-tls.

Methods

impl NativeTlsClient
[src]

Returns a NativeTlsClient with a default configuration.

To customize the configuration, build a TlsConnector and then use NativeTlsClient's From implementation.

Trait Implementations

impl From<TlsConnector> for NativeTlsClient
[src]

Performs the conversion.

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

The protected stream.

Wrap a client stream with SSL.

Auto Trait Implementations