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
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 Display for SslVersion
impl Display for SslVersion
Source§impl PartialEq for SslVersion
impl PartialEq for SslVersion
Source§impl TryFrom<u16> for SslVersion
impl TryFrom<u16> 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§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
)