Struct openssl::ssl::SslVersion [−][src]
pub struct SslVersion(_);
An SSL/TLS protocol version.
Methods
impl SslVersion[src]
impl SslVersionpub 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 SslVersionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for SslVersion[src]
impl Copy for SslVersionimpl Clone for SslVersion[src]
impl Clone for SslVersionfn clone(&self) -> SslVersion[src]
fn clone(&self) -> SslVersionReturns 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 SslVersionfn eq(&self, other: &SslVersion) -> bool[src]
fn eq(&self, other: &SslVersion) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for SslVersion[src]
impl Eq for SslVersionAuto Trait Implementations
impl Send for SslVersion
impl Send for SslVersionimpl Sync for SslVersion
impl Sync for SslVersion