Enum openssl::ssl::SslMethod [-]  [+] [src]

pub enum SslMethod {
    Sslv23,
    Sslv3,
    Tlsv1,
}

Determines the SSL method supported

Variants

Sslv23

Support the SSLv2, SSLv3 and TLSv1 protocols

Sslv3

Only support the SSLv3 protocol

Tlsv1

Only support the TLSv1 protocol

Trait Implementations

Derived Implementations

impl Eq for SslMethod

fn assert_receiver_is_total_eq(&self)

impl PartialEq for SslMethod

fn eq(&self, __arg_0: &SslMethod) -> bool

fn ne(&self, __arg_0: &SslMethod) -> bool

impl<__S: Writer + Hasher> Hash<__S> for SslMethod

fn hash(&self, __arg_0: &mut __S)

impl Show for SslMethod

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for SslMethod