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 newer.
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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SslVersion) -> bool
fn ne(&self, other: &SslVersion) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more