#[non_exhaustive]pub enum ConnectType {
Open,
Psk,
Sae,
Eap,
Owe,
}Expand description
Preferred connection type derived from SecurityFeatures.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Open
Open (no authentication).
Psk
Pre-shared key (WPA/WPA2-Personal).
Sae
SAE (WPA3-Personal).
Eap
802.1X / EAP (Enterprise).
Owe
Opportunistic Wireless Encryption.
Trait Implementations§
Source§impl Clone for ConnectType
impl Clone for ConnectType
Source§fn clone(&self) -> ConnectType
fn clone(&self) -> ConnectType
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 ConnectType
impl Debug for ConnectType
Source§impl<'de> Deserialize<'de> for ConnectType
impl<'de> Deserialize<'de> for ConnectType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConnectType
impl Display for ConnectType
Source§impl PartialEq for ConnectType
impl PartialEq for ConnectType
Source§impl Serialize for ConnectType
impl Serialize for ConnectType
impl Copy for ConnectType
impl Eq for ConnectType
impl StructuralPartialEq for ConnectType
Auto Trait Implementations§
impl Freeze for ConnectType
impl RefUnwindSafe for ConnectType
impl Send for ConnectType
impl Sync for ConnectType
impl Unpin for ConnectType
impl UnsafeUnpin for ConnectType
impl UnwindSafe for ConnectType
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