Enum schannel::tls_stream::HandshakeError
source · pub enum HandshakeError<S> {
Failure(Error),
Interrupted(MidHandshakeTlsStream<S>),
}
Expand description
A failure which can happen during the Builder::initialize
phase, either an
I/O error or an intermediate stream which has not completed its handshake.
Variants§
Failure(Error)
A fatal I/O error occurred
Interrupted(MidHandshakeTlsStream<S>)
The stream connection is in progress, but the handshake is not completed yet.
Trait Implementations§
source§impl<S: Debug> Debug for HandshakeError<S>
impl<S: Debug> Debug for HandshakeError<S>
source§impl<S: Debug + Any> Error for HandshakeError<S>
impl<S: Debug + Any> Error for HandshakeError<S>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()