Struct windows_sys::Networking::Sockets::SocketProtectionLevel
[−]#[repr(transparent)]pub struct SocketProtectionLevel(pub i32);
Expand description
Required features: "Networking_Sockets"
Tuple Fields
0: i32
Implementations
impl SocketProtectionLevel
impl SocketProtectionLevel
pub const PlainSocket: Self = Self(0i32)
pub const Ssl: Self = Self(1i32)
pub const SslAllowNullEncryption: Self = Self(2i32)
pub const BluetoothEncryptionAllowNullAuthentication: Self = Self(3i32)
pub const BluetoothEncryptionWithAuthentication: Self = Self(4i32)
pub const Ssl3AllowWeakEncryption: Self = Self(5i32)
pub const Tls10: Self = Self(6i32)
pub const Tls11: Self = Self(7i32)
pub const Tls12: Self = Self(8i32)
pub const Unspecified: Self = Self(9i32)
Trait Implementations
impl Clone for SocketProtectionLevel
impl Clone for SocketProtectionLevel
impl Copy for SocketProtectionLevel
Auto Trait Implementations
impl RefUnwindSafe for SocketProtectionLevel
impl Send for SocketProtectionLevel
impl Sync for SocketProtectionLevel
impl Unpin for SocketProtectionLevel
impl UnwindSafe for SocketProtectionLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more