#[non_exhaustive]#[repr(u32)]pub enum cef_ssl_version_t {
SSL_CONNECTION_VERSION_UNKNOWN = 0,
SSL_CONNECTION_VERSION_SSL2 = 1,
SSL_CONNECTION_VERSION_SSL3 = 2,
SSL_CONNECTION_VERSION_TLS1 = 3,
SSL_CONNECTION_VERSION_TLS1_1 = 4,
SSL_CONNECTION_VERSION_TLS1_2 = 5,
SSL_CONNECTION_VERSION_TLS1_3 = 6,
SSL_CONNECTION_VERSION_QUIC = 7,
SSL_CONNECTION_VERSION_NUM_VALUES = 8,
}Expand description
Supported SSL version values. See net/ssl/ssl_connection_status_flags.h for more information.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SSL_CONNECTION_VERSION_UNKNOWN = 0
Unknown SSL version.
SSL_CONNECTION_VERSION_SSL2 = 1
Unknown SSL version.
SSL_CONNECTION_VERSION_SSL3 = 2
Unknown SSL version.
SSL_CONNECTION_VERSION_TLS1 = 3
Unknown SSL version.
SSL_CONNECTION_VERSION_TLS1_1 = 4
Unknown SSL version.
SSL_CONNECTION_VERSION_TLS1_2 = 5
Unknown SSL version.
SSL_CONNECTION_VERSION_TLS1_3 = 6
Unknown SSL version.
SSL_CONNECTION_VERSION_QUIC = 7
Unknown SSL version.
SSL_CONNECTION_VERSION_NUM_VALUES = 8
Unknown SSL version.
Trait Implementations§
Source§impl Clone for cef_ssl_version_t
impl Clone for cef_ssl_version_t
Source§fn clone(&self) -> cef_ssl_version_t
fn clone(&self) -> cef_ssl_version_t
Returns a duplicate 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 cef_ssl_version_t
impl Debug for cef_ssl_version_t
Source§impl Hash for cef_ssl_version_t
impl Hash for cef_ssl_version_t
Source§impl PartialEq for cef_ssl_version_t
impl PartialEq for cef_ssl_version_t
impl Copy for cef_ssl_version_t
impl Eq for cef_ssl_version_t
impl StructuralPartialEq for cef_ssl_version_t
Auto Trait Implementations§
impl Freeze for cef_ssl_version_t
impl RefUnwindSafe for cef_ssl_version_t
impl Send for cef_ssl_version_t
impl Sync for cef_ssl_version_t
impl Unpin for cef_ssl_version_t
impl UnwindSafe for cef_ssl_version_t
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