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
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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more