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 Eq for SslMethod
[src]

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 Hash for SslMethod
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for SslMethod
[src]

Formats the value using the given formatter.

impl Clone for SslMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SslMethod
[src]