Enum wlan_common::security::wpa::Wpa2PersonalCredentials
source · pub enum Wpa2PersonalCredentials {
Psk(Psk),
Passphrase(Passphrase),
}
Variants§
Psk(Psk)
Passphrase(Passphrase)
Trait Implementations§
source§impl AsRef<[u8]> for Wpa2PersonalCredentials
impl AsRef<[u8]> for Wpa2PersonalCredentials
source§impl Clone for Wpa2PersonalCredentials
impl Clone for Wpa2PersonalCredentials
source§fn clone(&self) -> Wpa2PersonalCredentials
fn clone(&self) -> Wpa2PersonalCredentials
Returns a copy 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 Wpa2PersonalCredentials
impl Debug for Wpa2PersonalCredentials
source§impl From<Passphrase> for Wpa2PersonalCredentials
impl From<Passphrase> for Wpa2PersonalCredentials
source§fn from(passphrase: Passphrase) -> Self
fn from(passphrase: Passphrase) -> Self
Converts to this type from the input type.
source§impl From<Psk> for Wpa2PersonalCredentials
impl From<Psk> for Wpa2PersonalCredentials
source§impl From<Wpa2PersonalCredentials> for Authentication<Wpa2PersonalCredentials, ()>
impl From<Wpa2PersonalCredentials> for Authentication<Wpa2PersonalCredentials, ()>
source§fn from(credentials: Wpa2PersonalCredentials) -> Self
fn from(credentials: Wpa2PersonalCredentials) -> Self
Converts to this type from the input type.
source§impl From<Wpa2PersonalCredentials> for PersonalCredentials
impl From<Wpa2PersonalCredentials> for PersonalCredentials
source§fn from(credentials: Wpa2PersonalCredentials) -> Self
fn from(credentials: Wpa2PersonalCredentials) -> Self
Converts to this type from the input type.
source§impl From<Wpa2PersonalCredentials> for WpaCredentials
impl From<Wpa2PersonalCredentials> for WpaCredentials
source§fn from(credentials: Wpa2PersonalCredentials) -> Self
fn from(credentials: Wpa2PersonalCredentials) -> Self
Converts to this type from the input type.
source§impl PartialEq for Wpa2PersonalCredentials
impl PartialEq for Wpa2PersonalCredentials
source§fn eq(&self, other: &Wpa2PersonalCredentials) -> bool
fn eq(&self, other: &Wpa2PersonalCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<PersonalCredentials> for Wpa2PersonalCredentials
impl TryFrom<PersonalCredentials> for Wpa2PersonalCredentials
§type Error = SecurityError
type Error = SecurityError
The type returned in the event of a conversion error.
source§impl TryFrom<WpaCredentials> for Wpa2PersonalCredentials
impl TryFrom<WpaCredentials> for Wpa2PersonalCredentials
§type Error = SecurityError
type Error = SecurityError
The type returned in the event of a conversion error.
impl Eq for Wpa2PersonalCredentials
impl StructuralPartialEq for Wpa2PersonalCredentials
Auto Trait Implementations§
impl Freeze for Wpa2PersonalCredentials
impl RefUnwindSafe for Wpa2PersonalCredentials
impl Send for Wpa2PersonalCredentials
impl Sync for Wpa2PersonalCredentials
impl Unpin for Wpa2PersonalCredentials
impl UnwindSafe for Wpa2PersonalCredentials
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