Struct openssl::ssl::MidHandshakeSslStream [−][src]
pub struct MidHandshakeSslStream<S> { /* fields omitted */ }
An SSL stream midway through the handshake process.
Methods
impl<S> MidHandshakeSslStream<S>
[src]
impl<S> MidHandshakeSslStream<S>
ⓘImportant traits for &'a mut Rpub fn get_ref(&self) -> &S
[src]
ⓘImportant traits for &'a mut R
pub fn get_ref(&self) -> &S
Returns a shared reference to the inner stream.
ⓘImportant traits for &'a mut Rpub fn get_mut(&mut self) -> &mut S
[src]
ⓘImportant traits for &'a mut R
pub fn get_mut(&mut self) -> &mut S
Returns a mutable reference to the inner stream.
pub fn ssl(&self) -> &SslRef
[src]
pub fn ssl(&self) -> &SslRef
Returns a shared reference to the Ssl
of the stream.
pub fn error(&self) -> &Error
[src]
pub fn error(&self) -> &Error
Returns the underlying error which interrupted this handshake.
pub fn into_error(self) -> Error
[src]
pub fn into_error(self) -> Error
Consumes self
, returning its error.
pub fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>
[src]
pub fn handshake(self) -> Result<SslStream<S>, HandshakeError<S>>
Restarts the handshake process.
This corresponds to SSL_do_handshake
.
Trait Implementations
impl<S: Debug> Debug for MidHandshakeSslStream<S>
[src]
impl<S: Debug> Debug for MidHandshakeSslStream<S>
Auto Trait Implementations
impl<S> Send for MidHandshakeSslStream<S> where
S: Send,
impl<S> Send for MidHandshakeSslStream<S> where
S: Send,
impl<S> Sync for MidHandshakeSslStream<S> where
S: Sync,
impl<S> Sync for MidHandshakeSslStream<S> where
S: Sync,