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

pub enum SslMethod {
    Sslv23,
    Tlsv1,
}

Determines the SSL method supported

Variants

Support the SSLv2, SSLv3, TLSv1, TLSv1.1, and TLSv1.2 protocols depending on what the linked OpenSSL library supports.

Only support the TLSv1 protocol.

Methods

impl SslMethod
[src]

Trait Implementations

impl Copy for SslMethod
[src]

impl Clone for SslMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SslMethod
[src]

Formats the value using the given formatter. Read more

impl Hash for SslMethod
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for SslMethod
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SslMethod
[src]

Auto Trait Implementations

impl Send for SslMethod

impl Sync for SslMethod