Clarify use of ssl::HandshakeError::Interrupted
This commit is contained in:
parent
2fd7354c38
commit
dd3896fdc5
|
|
@ -73,7 +73,7 @@ pub enum HandshakeError<S> {
|
||||||
SetupFailure(ErrorStack),
|
SetupFailure(ErrorStack),
|
||||||
/// The handshake failed.
|
/// The handshake failed.
|
||||||
Failure(MidHandshakeSslStream<S>),
|
Failure(MidHandshakeSslStream<S>),
|
||||||
/// The handshake was interrupted midway through.
|
/// The handshake was interrupted midway through. This error will never be returned for blocking streams.
|
||||||
Interrupted(MidHandshakeSslStream<S>),
|
Interrupted(MidHandshakeSslStream<S>),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue