Merge pull request #627 from jethrogb/patch-1

Clarify use of ssl::HandshakeError::Interrupted
This commit is contained in:
Steven Fackler 2017-05-03 12:19:36 -07:00 committed by GitHub
commit 78c82fa3ee
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ pub enum HandshakeError<S> {
SetupFailure(ErrorStack),
/// The handshake failed.
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>),
}