From 3207e57a098ea4cacdc46c0f4979e099da06a436 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 4 Dec 2017 22:01:07 -0800 Subject: Finish documentation for the ssl module Closes #727 --- openssl/src/ssl/error.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openssl/src/ssl/error.rs') diff --git a/openssl/src/ssl/error.rs b/openssl/src/ssl/error.rs index 2244fd7f..48f49979 100644 --- a/openssl/src/ssl/error.rs +++ b/openssl/src/ssl/error.rs @@ -8,6 +8,7 @@ use error::ErrorStack; use ssl::MidHandshakeSslStream; /// An SSL error. +// FIXME this is missing variants #[derive(Debug)] pub enum Error { /// The SSL session has been closed by the other end @@ -100,7 +101,9 @@ pub enum HandshakeError { SetupFailure(ErrorStack), /// The handshake failed. Failure(MidHandshakeSslStream), - /// The handshake was interrupted midway through. This error will never be returned for blocking streams. + /// The handshake was interrupted midway through. + /// + /// This error will never be returned for blocking streams. // FIXME change to WouldBlock Interrupted(MidHandshakeSslStream), } -- cgit v1.2.3