Struct security_framework::secure_transport::MidHandshakeSslStream [] [src]

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

An SSL stream midway through the handshake process.

Methods

impl<S> MidHandshakeSslStream<S>
[src]

Returns a shared reference to the inner stream.

Returns a mutable reference to the inner stream.

Returns a shared reference to the SslContext of the stream.

Returns a mutable reference to the SslContext of the stream.

Returns true iff break_on_server_auth was set and the handshake has progressed to that point.

Returns true iff break_on_cert_requested was set and the handshake has progressed to that point.

Returns true iff the underlying stream returned an error with the WouldBlock kind.

Deprecated

Returns the error which caused the handshake interruption.

Restarts the handshake process.

Trait Implementations

impl<S> MidHandshakeSslStreamExt for MidHandshakeSslStream<S>
[src]

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

Formats the value using the given formatter.