aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl/error.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-12-05 09:12:50 -0800
committerGitHub <[email protected]>2017-12-05 09:12:50 -0800
commitf85816389d53107d233d7c1dec2a7601c626661b (patch)
tree99f44842a89d0759f231075e5986347f865cedc4 /openssl/src/ssl/error.rs
parentMerge pull request #788 from sfackler/ssl-docs (diff)
parentFinish documentation for the ssl module (diff)
downloadrust-openssl-f85816389d53107d233d7c1dec2a7601c626661b.tar.xz
rust-openssl-f85816389d53107d233d7c1dec2a7601c626661b.zip
Merge pull request #789 from sfackler/ssl-docs-2
Finish documentation for the ssl module
Diffstat (limited to 'openssl/src/ssl/error.rs')
-rw-r--r--openssl/src/ssl/error.rs5
1 files changed, 4 insertions, 1 deletions
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<S> {
SetupFailure(ErrorStack),
/// The handshake failed.
Failure(MidHandshakeSslStream<S>),
- /// 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<S>),
}