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

pub struct OpensslClient(_);

A client-specific implementation of OpenSSL.

Methods

impl OpensslClient

fn new(ctx: SslContext) -> OpensslClient

Creates a new OpensslClient with a custom SslContext

Trait Implementations

impl Default for OpensslClient

fn default() -> OpensslClient

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

type Stream = SslStream<T>

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

Derived Implementations

impl Clone for OpensslClient

fn clone(&self) -> OpensslClient

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

impl Debug for OpensslClient

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