Struct security_framework::secure_transport::MidHandshakeClientBuilder
[−]
[src]
pub struct MidHandshakeClientBuilder<S> { /* fields omitted */ }
An SSL stream midway through the handshake process.
Methods
impl<S> MidHandshakeClientBuilder<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 error(&self) -> &Error
Returns the error which caused the handshake interruption.
fn handshake(self) -> Result<SslStream<S>, ClientHandshakeError<S>>
Restarts the handshake process.