#[non_exhaustive]pub enum AuthenticationMethodConfig {
Open,
Wep(Password),
Wpa(Password),
Wpa2Personal(Password),
WpaWpa2Personal(Password),
}Available on crate feature
wifi only.Expand description
Authentication Configuration for a Wi-Fi network.
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 authentication.
Wep(Password)
Wired Equivalent Privacy (WEP) authentication and password.
Wpa(Password)
Wi-Fi Protected Access (WPA) authentication and password.
Wpa2Personal(Password)
Wi-Fi Protected Access 2 (WPA2) Personal authentication and password.
WpaWpa2Personal(Password)
WPA/WPA2 Personal authentication and password (supports both).
Trait Implementations§
Source§impl Clone for AuthenticationMethodConfig
impl Clone for AuthenticationMethodConfig
Source§fn clone(&self) -> AuthenticationMethodConfig
fn clone(&self) -> AuthenticationMethodConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthenticationMethodConfig
Source§impl Debug for AuthenticationMethodConfig
impl Debug for AuthenticationMethodConfig
impl Eq for AuthenticationMethodConfig
Source§impl Format for AuthenticationMethodConfig
Available on crate feature defmt only.
impl Format for AuthenticationMethodConfig
Available on crate feature
defmt only.Source§impl Hash for AuthenticationMethodConfig
impl Hash for AuthenticationMethodConfig
Source§impl PartialEq for AuthenticationMethodConfig
impl PartialEq for AuthenticationMethodConfig
impl StructuralPartialEq for AuthenticationMethodConfig
Auto Trait Implementations§
impl Freeze for AuthenticationMethodConfig
impl RefUnwindSafe for AuthenticationMethodConfig
impl Send for AuthenticationMethodConfig
impl Sync for AuthenticationMethodConfig
impl Unpin for AuthenticationMethodConfig
impl UnsafeUnpin for AuthenticationMethodConfig
impl UnwindSafe for AuthenticationMethodConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)