Struct SocketProtectionLevel
#[repr(transparent)]pub struct SocketProtectionLevel(pub i32);Tuple Fields§
§0: i32Implementations§
§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 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 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