#[repr(transparent)]pub struct CWSecurity(pub NSInteger);
Available on crate feature
CoreWLANTypes
only.Expand description
Wi-Fi security types.
Open System authentication.
WEP security.
WPA Personal authentication.
WPA/WPA2 Personal authentication.
WPA2 Personal authentication.
Dynamic WEP security.
WPA Enterprise authentication.
WPA/WPA2 Enterprise authentication.
WPA2 Enterprise authentication.
WPA3 Enterprise authentication.
WPA3 Personal authentication.
WPA3 Transition (WPA3/WPA2 Personal) authentication.
OWE security.
OWE Transition.
Unknown security type.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl CWSecurity
impl CWSecurity
pub const None: Self
pub const WEP: Self
pub const WPAPersonal: Self
pub const WPAPersonalMixed: Self
pub const WPA2Personal: Self
pub const Personal: Self
pub const DynamicWEP: Self
pub const WPAEnterprise: Self
pub const WPAEnterpriseMixed: Self
pub const WPA2Enterprise: Self
pub const Enterprise: Self
pub const WPA3Personal: Self
pub const WPA3Enterprise: Self
pub const WPA3Transition: Self
pub const OWE: Self
pub const OWETransition: Self
pub const Unknown: Self
Trait Implementations§
Source§impl Clone for CWSecurity
impl Clone for CWSecurity
Source§fn clone(&self) -> CWSecurity
fn clone(&self) -> CWSecurity
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 moreSource§impl Debug for CWSecurity
impl Debug for CWSecurity
Source§impl Encode for CWSecurity
impl Encode for CWSecurity
Source§impl Hash for CWSecurity
impl Hash for CWSecurity
Source§impl Ord for CWSecurity
impl Ord for CWSecurity
Source§fn cmp(&self, other: &CWSecurity) -> Ordering
fn cmp(&self, other: &CWSecurity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CWSecurity
impl PartialEq for CWSecurity
Source§impl PartialOrd for CWSecurity
impl PartialOrd for CWSecurity
Source§impl RefEncode for CWSecurity
impl RefEncode for CWSecurity
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CWSecurity
impl Eq for CWSecurity
impl StructuralPartialEq for CWSecurity
Auto Trait Implementations§
impl Freeze for CWSecurity
impl RefUnwindSafe for CWSecurity
impl Send for CWSecurity
impl Sync for CWSecurity
impl Unpin for CWSecurity
impl UnwindSafe for CWSecurity
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.