pub enum AuthenticationType {
WEP(String),
WPA(String),
NoPassword,
}
Expand description
Declare whether the network is authenticated via WEP with a password, WPA with a password, or if the network is open.
Variants§
WEP(String)
WEP authentication is an older family of protocols. It is not particularly secure and wireless access points should use a more modern methods such as the WPA family of authentication protocols.
WPA(String)
WPA authentication is a more modern family of protocols. Typically, wireless networks will use WPA2 as their protocol implementation.
NoPassword
No password / open access is particularly rare because it is possible for malicious actors to read all unencrypted traffic going across the network.
Auto Trait Implementations§
impl Freeze for AuthenticationType
impl RefUnwindSafe for AuthenticationType
impl Send for AuthenticationType
impl Sync for AuthenticationType
impl Unpin for AuthenticationType
impl UnwindSafe for AuthenticationType
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