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.