Enum mail_parser::TlsVersion
source · pub enum TlsVersion {
SSLv2,
SSLv3,
TLSv1_0,
TLSv1_1,
TLSv1_2,
TLSv1_3,
DTLSv1_0,
DTLSv1_2,
DTLSv1_3,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for TlsVersion
impl Clone for TlsVersion
source§fn clone(&self) -> TlsVersion
fn clone(&self) -> TlsVersion
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 TlsVersion
impl Debug for TlsVersion
source§impl Display for TlsVersion
impl Display for TlsVersion
source§impl PartialEq for TlsVersion
impl PartialEq for TlsVersion
source§fn eq(&self, other: &TlsVersion) -> bool
fn eq(&self, other: &TlsVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TlsVersion
impl Eq for TlsVersion
impl StructuralPartialEq for TlsVersion
Auto Trait Implementations§
impl Freeze for TlsVersion
impl RefUnwindSafe for TlsVersion
impl Send for TlsVersion
impl Sync for TlsVersion
impl Unpin for TlsVersion
impl UnwindSafe for TlsVersion
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