Commit 4ff45bc8 authored by Steven Fackler's avatar Steven Fackler
Browse files

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

Derive things on SslMethod
parents cd40d25c 13b20278
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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