#[repr(u32)]pub enum GTlsProtocolVersion {
G_TLS_PROTOCOL_VERSION_UNKNOWN = 0,
G_TLS_PROTOCOL_VERSION_SSL_3_0 = 1,
G_TLS_PROTOCOL_VERSION_TLS_1_0 = 2,
G_TLS_PROTOCOL_VERSION_TLS_1_1 = 3,
G_TLS_PROTOCOL_VERSION_TLS_1_2 = 4,
G_TLS_PROTOCOL_VERSION_TLS_1_3 = 5,
G_TLS_PROTOCOL_VERSION_DTLS_1_0 = 201,
G_TLS_PROTOCOL_VERSION_DTLS_1_2 = 202,
}Variants§
G_TLS_PROTOCOL_VERSION_UNKNOWN = 0
G_TLS_PROTOCOL_VERSION_SSL_3_0 = 1
G_TLS_PROTOCOL_VERSION_TLS_1_0 = 2
G_TLS_PROTOCOL_VERSION_TLS_1_1 = 3
G_TLS_PROTOCOL_VERSION_TLS_1_2 = 4
G_TLS_PROTOCOL_VERSION_TLS_1_3 = 5
G_TLS_PROTOCOL_VERSION_DTLS_1_0 = 201
G_TLS_PROTOCOL_VERSION_DTLS_1_2 = 202
Trait Implementations§
Source§impl Clone for GTlsProtocolVersion
impl Clone for GTlsProtocolVersion
Source§fn clone(&self) -> GTlsProtocolVersion
fn clone(&self) -> GTlsProtocolVersion
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 GTlsProtocolVersion
impl Debug for GTlsProtocolVersion
Source§impl Hash for GTlsProtocolVersion
impl Hash for GTlsProtocolVersion
Source§impl PartialEq for GTlsProtocolVersion
impl PartialEq for GTlsProtocolVersion
impl Copy for GTlsProtocolVersion
impl Eq for GTlsProtocolVersion
impl StructuralPartialEq for GTlsProtocolVersion
Auto Trait Implementations§
impl Freeze for GTlsProtocolVersion
impl RefUnwindSafe for GTlsProtocolVersion
impl Send for GTlsProtocolVersion
impl Sync for GTlsProtocolVersion
impl Unpin for GTlsProtocolVersion
impl UnwindSafe for GTlsProtocolVersion
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