Struct openssl::ssl::SslVersion
source · [−]pub struct SslVersion(_);
Expand description
An SSL/TLS protocol version.
Implementations
sourceimpl 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.
sourcepub const DTLS1: SslVersion = _
pub const DTLS1: SslVersion = _
DTLSv1.0
DTLS 1.0 corresponds to TLS 1.1.
sourcepub const DTLS1_2: SslVersion = _
pub const DTLS1_2: SslVersion = _
DTLSv1.2
DTLS 1.2 corresponds to TLS 1.2 to harmonize versions. There was never a DTLS 1.1.
Trait Implementations
sourceimpl Clone for SslVersion
impl Clone for SslVersion
sourcefn clone(&self) -> SslVersion
fn clone(&self) -> SslVersion
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SslVersion
impl Debug for SslVersion
sourceimpl PartialEq<SslVersion> for SslVersion
impl PartialEq<SslVersion> for SslVersion
sourcefn eq(&self, other: &SslVersion) -> bool
fn eq(&self, other: &SslVersion) -> bool
impl Copy for SslVersion
impl Eq for SslVersion
impl StructuralEq for SslVersion
impl StructuralPartialEq for SslVersion
Auto Trait Implementations
impl RefUnwindSafe for SslVersion
impl Send for SslVersion
impl Sync for SslVersion
impl Unpin for SslVersion
impl UnwindSafe for SslVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more