Struct openssl::ssl::SslVersion [−][src]
pub struct SslVersion(_);
An SSL/TLS protocol version.
Methods
impl SslVersion
[src]
impl SslVersion
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
pub const TLS1_3: SslVersion
TLS1_3: SslVersion = SslVersion(ffi::TLS1_3_VERSION)
TLSv1.3
Requires OpenSSL 1.1.1 or newer.
Trait Implementations
impl Debug for SslVersion
[src]
impl Debug for SslVersion
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for SslVersion
[src]
impl Copy for SslVersion
impl Clone for SslVersion
[src]
impl Clone for SslVersion
fn clone(&self) -> SslVersion
[src]
fn clone(&self) -> SslVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SslVersion
[src]
impl PartialEq for SslVersion
fn eq(&self, other: &SslVersion) -> bool
[src]
fn eq(&self, other: &SslVersion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SslVersion) -> bool
[src]
fn ne(&self, other: &SslVersion) -> bool
This method tests for !=
.
impl Eq for SslVersion
[src]
impl Eq for SslVersion
Auto Trait Implementations
impl Send for SslVersion
impl Send for SslVersion
impl Sync for SslVersion
impl Sync for SslVersion