#[repr(C)]pub enum rustls_tls_version {
Unknown = 0,
Sslv2 = 512,
Sslv3 = 768,
Tlsv1_0 = 769,
Tlsv1_1 = 770,
Tlsv1_2 = 771,
Tlsv1_3 = 772,
}
Expand description
Definitions of known TLS protocol versions.
Variants§
Trait Implementations§
Source§impl Debug for rustls_tls_version
impl Debug for rustls_tls_version
Source§impl Default for rustls_tls_version
impl Default for rustls_tls_version
Source§fn default() -> rustls_tls_version
fn default() -> rustls_tls_version
Returns the “default value” for a type. Read more
Source§impl From<&SupportedProtocolVersion> for rustls_tls_version
impl From<&SupportedProtocolVersion> for rustls_tls_version
Source§fn from(version: &SupportedProtocolVersion) -> Self
fn from(version: &SupportedProtocolVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for rustls_tls_version
impl RefUnwindSafe for rustls_tls_version
impl Send for rustls_tls_version
impl Sync for rustls_tls_version
impl Unpin for rustls_tls_version
impl UnwindSafe for rustls_tls_version
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