Struct openssl::ssl::MidHandshakeSslStream
source · pub struct MidHandshakeSslStream<S> { /* private fields */ }
Expand description
An SSL stream midway through the handshake process.
Implementations§
source§impl<S> MidHandshakeSslStream<S>
impl<S> MidHandshakeSslStream<S>
sourcepub fn into_error(self) -> Error
pub fn into_error(self) -> Error
Consumes self
, returning its error.
source§impl<S> MidHandshakeSslStream<S>where
S: Read + Write,
impl<S> MidHandshakeSslStream<S>where S: Read + Write,
sourcepub fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>
pub fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>
Restarts the handshake process.
This corresponds to SSL_do_handshake
.