pub struct TlsProtocolVersion(/* private fields */);Expand description
A raw TLS TlsProtocolVersion value.
Implementations§
Trait Implementations§
Source§impl Clone for TlsProtocolVersion
impl Clone for TlsProtocolVersion
impl Copy for TlsProtocolVersion
Source§impl Debug for TlsProtocolVersion
impl Debug for TlsProtocolVersion
impl Eq for TlsProtocolVersion
Source§impl Hash for TlsProtocolVersion
impl Hash for TlsProtocolVersion
Source§impl Ord for TlsProtocolVersion
impl Ord for TlsProtocolVersion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TlsProtocolVersion
impl PartialEq for TlsProtocolVersion
Source§impl PartialOrd for TlsProtocolVersion
impl PartialOrd for TlsProtocolVersion
impl StructuralPartialEq for TlsProtocolVersion
Auto Trait Implementations§
impl Freeze for TlsProtocolVersion
impl RefUnwindSafe for TlsProtocolVersion
impl Send for TlsProtocolVersion
impl Sync for TlsProtocolVersion
impl Unpin for TlsProtocolVersion
impl UnsafeUnpin for TlsProtocolVersion
impl UnwindSafe for TlsProtocolVersion
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