Struct SocketProtectionLevel
#[repr(transparent)]pub struct SocketProtectionLevel(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl SocketProtectionLevel
impl SocketProtectionLevel
pub const PlainSocket: Self = _
pub const Ssl: Self = _
pub const SslAllowNullEncryption: Self = _
pub const BluetoothEncryptionAllowNullAuthentication: Self = _
pub const BluetoothEncryptionWithAuthentication: Self = _
pub const Ssl3AllowWeakEncryption: Self = _
pub const Tls10: Self = _
pub const Tls11: Self = _
pub const Tls12: Self = _
pub const Unspecified: Self = _
pub const Tls13: Self = _
Trait Implementations§
§impl Clone for SocketProtectionLevel
impl Clone for SocketProtectionLevel
§fn clone(&self) -> SocketProtectionLevel
fn clone(&self) -> SocketProtectionLevel
Returns a copy 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 more§impl Debug for SocketProtectionLevel
impl Debug for SocketProtectionLevel
§impl Default for SocketProtectionLevel
impl Default for SocketProtectionLevel
§fn default() -> SocketProtectionLevel
fn default() -> SocketProtectionLevel
Returns the “default value” for a type. Read more
§impl PartialEq for SocketProtectionLevel
impl PartialEq for SocketProtectionLevel
impl Copy for SocketProtectionLevel
impl Eq for SocketProtectionLevel
impl StructuralPartialEq for SocketProtectionLevel
Auto Trait Implementations§
impl Freeze for SocketProtectionLevel
impl RefUnwindSafe for SocketProtectionLevel
impl Send for SocketProtectionLevel
impl Sync for SocketProtectionLevel
impl Unpin for SocketProtectionLevel
impl UnwindSafe for SocketProtectionLevel
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