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.

Methods

impl SslMethod

fn is_dtls(&self) -> bool

fn is_dtlsv1(&self) -> bool

fn is_dtlsv1_2(&self) -> bool

Trait Implementations

Derived Implementations

impl Eq for SslMethod

impl PartialEq for SslMethod

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

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

impl Hash for SslMethod

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for SslMethod

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

impl Clone for SslMethod

fn clone(&self) -> SslMethod

fn clone_from(&mut self, source: &Self)

impl Copy for SslMethod