Struct openssl::ssl::SslVersion[][src]

pub struct SslVersion(_);

An SSL/TLS protocol version.

Methods

impl SslVersion
[src]

SSL3: SslVersion = SslVersion(ffi::SSL3_VERSION)

SSLv3

TLS1: SslVersion = SslVersion(ffi::TLS1_VERSION)

TLSv1.0

TLS1_1: SslVersion = SslVersion(ffi::TLS1_1_VERSION)

TLSv1.1

TLS1_2: SslVersion = SslVersion(ffi::TLS1_2_VERSION)

TLSv1.2

Trait Implementations

impl Debug for SslVersion
[src]

Formats the value using the given formatter. Read more

impl Copy for SslVersion
[src]

impl Clone for SslVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SslVersion
[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 SslVersion
[src]

Auto Trait Implementations

impl Send for SslVersion

impl Sync for SslVersion