Struct windows::Networking::Sockets::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
§fn eq(&self, other: &SocketProtectionLevel) -> bool
fn eq(&self, other: &SocketProtectionLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)