Struct openssl::ssl::SslVersion
source · pub struct SslVersion(/* private fields */);
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 BoringSSL or 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§
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 for SslVersion
impl PartialEq for SslVersion
impl Copy for SslVersion
impl Eq for SslVersion
impl StructuralPartialEq for SslVersion
Auto Trait Implementations§
impl Freeze for SslVersion
impl RefUnwindSafe for SslVersion
impl Send for SslVersion
impl Sync for SslVersion
impl Unpin for SslVersion
impl UnwindSafe for SslVersion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)