Derive things on SslMethod
This commit is contained in:
parent
cd40d25cb5
commit
13b2027850
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue