aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl/error.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-12-04 22:01:07 -0800
committerSteven Fackler <[email protected]>2017-12-04 22:15:56 -0800
commit3207e57a098ea4cacdc46c0f4979e099da06a436 (patch)
tree99f44842a89d0759f231075e5986347f865cedc4 /openssl/src/ssl/error.rs
parentMerge pull request #788 from sfackler/ssl-docs (diff)
downloadrust-openssl-3207e57a098ea4cacdc46c0f4979e099da06a436.tar.xz
rust-openssl-3207e57a098ea4cacdc46c0f4979e099da06a436.zip
Finish documentation for the ssl module
Closes #727
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>),
}