pub enum KeyMgmt {
None,
WpaPsk,
WpaEap,
IEEE8021X,
}
Expand description
Key management types for WiFi networks (eg: WPA-PSK, WPA-EAP, etc). In theory, more than one may
be configured, but I believe wpa_supplicant
defaults to all of them if omitted. Therefore, in
practice, this is mostly important for setting key_mgmt
to None
for an open network.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyMgmt
impl RefUnwindSafe for KeyMgmt
impl Send for KeyMgmt
impl Sync for KeyMgmt
impl Unpin for KeyMgmt
impl UnwindSafe for KeyMgmt
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