Struct openssl::ssl::SslVersion
[−]
[src]
pub struct SslVersion(_);
An SSL/TLS protocol version.
Methods
impl SslVersion
[src]
pub const SSL3: SslVersion
SSL3: SslVersion = SslVersion(ffi::SSL3_VERSION)
SSLv3
pub const TLS1: SslVersion
TLS1: SslVersion = SslVersion(ffi::TLS1_VERSION)
TLSv1.0
pub const TLS1_1: SslVersion
TLS1_1: SslVersion = SslVersion(ffi::TLS1_1_VERSION)
TLSv1.1
pub const TLS1_2: SslVersion
TLS1_2: SslVersion = SslVersion(ffi::TLS1_2_VERSION)
TLSv1.2
Trait Implementations
impl Debug for SslVersion
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for SslVersion
[src]
impl Clone for SslVersion
[src]
fn clone(&self) -> SslVersion
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SslVersion
[src]
fn eq(&self, __arg_0: &SslVersion) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SslVersion) -> bool
[src]
This method tests for !=
.