Enum rustls_ffi::enums::rustls_tls_version
source · #[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