Struct openssl::ssl::MidHandshakeSslStream [] [src]

pub struct MidHandshakeSslStream<S> {
    // some fields omitted
}

An SSL stream midway through the handshake process.

Methods

impl<S> MidHandshakeSslStream<S>
[src]

fn get_ref(&self) -> &S

Returns a shared reference to the inner stream.

fn get_mut(&mut self) -> &mut S

Returns a mutable reference to the inner stream.

fn ssl(&self) -> &Ssl

Returns a shared reference to the Ssl of the stream.

fn error(&self) -> &Error

Returns the underlying error which interrupted this handshake.

fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>

Restarts the handshake process.

Trait Implementations

Derived Implementations

impl<S: Debug> Debug for MidHandshakeSslStream<S>
[src]

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

Formats the value using the given formatter.