Struct security_framework::secure_transport::MidHandshakeSslStream [−][src]
pub struct MidHandshakeSslStream<S> { /* fields omitted */ }
Expand description
An SSL stream midway through the handshake process.
Implementations
impl<S> MidHandshakeSslStream<S>
[src]
impl<S> MidHandshakeSslStream<S>
[src]pub fn context(&self) -> &SslContext
[src]
pub fn context(&self) -> &SslContext
[src]Returns a shared reference to the SslContext
of the stream.
pub fn context_mut(&mut self) -> &mut SslContext
[src]
pub fn context_mut(&mut self) -> &mut SslContext
[src]Returns a mutable reference to the SslContext
of the stream.
pub fn server_auth_completed(&self) -> bool
[src]
pub fn server_auth_completed(&self) -> bool
[src]Returns true
iff break_on_server_auth
was set and the handshake has
progressed to that point.
pub fn client_cert_requested(&self) -> bool
[src]
pub fn client_cert_requested(&self) -> bool
[src]Returns true
iff break_on_cert_requested
was set and the handshake
has progressed to that point.
pub fn would_block(&self) -> bool
[src]
pub fn would_block(&self) -> bool
[src]Returns true
iff the underlying stream returned an error with the
WouldBlock
kind.
pub fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>
[src]
pub fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>
[src]Restarts the handshake process.
Trait Implementations
impl<S: Debug> Debug for MidHandshakeSslStream<S>
[src]
impl<S: Debug> Debug for MidHandshakeSslStream<S>
[src]impl<S> MidHandshakeSslStreamExt for MidHandshakeSslStream<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for MidHandshakeSslStream<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for MidHandshakeSslStream<S> where
S: Send,
S: Send,
impl<S> Sync for MidHandshakeSslStream<S> where
S: Sync,
S: Sync,
impl<S> Unpin for MidHandshakeSslStream<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for MidHandshakeSslStream<S> where
S: UnwindSafe,
S: UnwindSafe,