aboutsummaryrefslogtreecommitdiff
path: root/src/ssl/mod.rs
diff options
context:
space:
mode:
authorAndrew Dunham <[email protected]>2014-09-04 17:53:51 -0700
committerAndrew Dunham <[email protected]>2014-09-04 17:53:51 -0700
commit13b20278501f22eafd986e5acdd4e35bb6cd2f9c (patch)
tree6c323b3f22a1115246fe3172afa6922af499e89e /src/ssl/mod.rs
parentMerge pull request #35 from Kroisse/master (diff)
downloadrust-openssl-13b20278501f22eafd986e5acdd4e35bb6cd2f9c.tar.xz
rust-openssl-13b20278501f22eafd986e5acdd4e35bb6cd2f9c.zip
Derive things on SslMethod
Diffstat (limited to 'src/ssl/mod.rs')
-rw-r--r--src/ssl/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ssl/mod.rs b/src/ssl/mod.rs
index 7c9b2d60..ead1f56f 100644
--- a/src/ssl/mod.rs
+++ b/src/ssl/mod.rs
@@ -45,6 +45,7 @@ fn init() {
}
/// Determines the SSL method supported
+#[deriving(Show, Hash, PartialEq, Eq)]
pub enum SslMethod {
#[cfg(sslv2)]
/// Only support the SSLv2 protocol