Derive things on SslMethod

This commit is contained in:
Andrew Dunham 2014-09-04 17:53:51 -07:00
parent cd40d25cb5
commit 13b2027850
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ fn init() {
} }
/// Determines the SSL method supported /// Determines the SSL method supported
#[deriving(Show, Hash, PartialEq, Eq)]
pub enum SslMethod { pub enum SslMethod {
#[cfg(sslv2)] #[cfg(sslv2)]
/// Only support the SSLv2 protocol /// Only support the SSLv2 protocol