pub enum SslVersion {
Tls1,
Tls1_1,
Tls1_2,
Tls1_3,
}
Variants§
Trait Implementations§
Source§impl Clone for SslVersion
impl Clone for SslVersion
Source§fn clone(&self) -> SslVersion
fn clone(&self) -> SslVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 From<SslVersion> for SslVersion
impl From<SslVersion> for SslVersion
Source§fn from(val: SslVersion) -> Self
fn from(val: SslVersion) -> Self
Converts to this type from the input type.
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