Struct openssl::ssl::SslVersion
source · pub struct SslVersion(_);
Expand description
An SSL/TLS protocol version.
Implementations§
source§impl SslVersion
impl SslVersion
sourcepub const SSL3: SslVersion = _
pub const SSL3: SslVersion = _
SSLv3
sourcepub const TLS1: SslVersion = _
pub const TLS1: SslVersion = _
TLSv1.0
sourcepub const TLS1_1: SslVersion = _
pub const TLS1_1: SslVersion = _
TLSv1.1
sourcepub const TLS1_2: SslVersion = _
pub const TLS1_2: SslVersion = _
TLSv1.2
sourcepub const TLS1_3: SslVersion = _
pub const TLS1_3: SslVersion = _
TLSv1.3
Requires OpenSSL 1.1.1 or LibreSSL 3.4.0 or newer.
Trait Implementations§
source§impl Clone for SslVersion
impl Clone for SslVersion
source§fn clone(&self) -> SslVersion
fn clone(&self) -> SslVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SslVersion
impl Debug for SslVersion
source§impl PartialEq<SslVersion> for SslVersion
impl PartialEq<SslVersion> for SslVersion
source§fn eq(&self, other: &SslVersion) -> bool
fn eq(&self, other: &SslVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.