Clarify use of ssl::HandshakeError::Interrupted

This commit is contained in:
jethrogb 2017-05-03 12:03:18 -07:00 committed by GitHub
parent 2fd7354c38
commit dd3896fdc5
1 changed files with 1 additions and 1 deletions

View File

@ -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>),
} }