Enum tls_api::HandshakeError [−][src]
pub enum HandshakeError<S> {
Failure(Error),
Interrupted(MidHandshakeTlsStream<S>),
}An error returned from ClientBuilder::handshake.
Variants
Failure(Error)A fatal error.
Interrupted(MidHandshakeTlsStream<S>)A stream interrupted midway through the handshake process due to a
WouldBlock error.
Note that this is not a fatal error and it should be safe to call
handshake at a later time once the stream is ready to perform I/O
again.
Trait Implementations
impl<S: Debug> Debug for HandshakeError<S>[src]
impl<S: Debug> Debug for HandshakeError<S>Auto Trait Implementations
impl<S> Send for HandshakeError<S>
impl<S> Send for HandshakeError<S>impl<S> Sync for HandshakeError<S>
impl<S> Sync for HandshakeError<S>