Merge pull request #36 from andrew-d/andrew-add-deriving

Derive things on SslMethod
This commit is contained in:
Steven Fackler 2014-09-04 18:59:23 -07:00
commit 4ff45bc81d
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