Struct hyper::net::OpensslClient [] [src]

pub struct OpensslClient(_);

A client-specific implementation of OpenSSL.

Methods

impl OpensslClient
[src]

fn new(ctx: SslContext) -> OpensslClient

Creates a new OpensslClient with a custom SslContext

Trait Implementations

impl Clone for OpensslClient
[src]

fn clone(&self) -> OpensslClient

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for OpensslClient
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for OpensslClient
[src]

fn default() -> OpensslClient

Returns the "default value" for a type. Read more

impl<T: NetworkStream + Send + Clone> SslClient<T> for OpensslClient
[src]

type Stream = SslStream<T>

The protected stream.

fn wrap_client(&self, stream: T, host: &str) -> Result<Self::Stream>

Wrap a client stream with SSL.