pub enum PersonalCredentials {
Psk(Psk),
Passphrase(Passphrase),
}
Expand description
General WPA Personal credentials.
Enumerates credential data used across the family of WPA versions to authenticate with the WPA Personal suite. This is a superset of WPA Personal credentials for each version of WPA.
See Authentication
and the Credentials
type definition.
Variants§
Trait Implementations§
Source§impl AsRef<[u8]> for PersonalCredentials
impl AsRef<[u8]> for PersonalCredentials
Source§impl Clone for PersonalCredentials
impl Clone for PersonalCredentials
Source§fn clone(&self) -> PersonalCredentials
fn clone(&self) -> PersonalCredentials
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 PersonalCredentials
impl Debug for PersonalCredentials
Source§impl From<PersonalCredentials> for Credentials
impl From<PersonalCredentials> for Credentials
Source§fn from(personal: PersonalCredentials) -> Self
fn from(personal: PersonalCredentials) -> Self
Converts to this type from the input type.
Source§impl From<PersonalCredentials> for WpaCredentials
impl From<PersonalCredentials> for WpaCredentials
Source§fn from(credentials: PersonalCredentials) -> Self
fn from(credentials: PersonalCredentials) -> Self
Converts to this type from the input type.
Source§impl From<Wpa1Credentials> for PersonalCredentials
impl From<Wpa1Credentials> for PersonalCredentials
Source§fn from(credentials: Wpa1Credentials) -> Self
fn from(credentials: Wpa1Credentials) -> 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<Wpa3PersonalCredentials> for PersonalCredentials
impl From<Wpa3PersonalCredentials> for PersonalCredentials
Source§fn from(credentials: Wpa3PersonalCredentials) -> Self
fn from(credentials: Wpa3PersonalCredentials) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PersonalCredentials
impl PartialEq for PersonalCredentials
Source§impl TryFrom<PersonalCredentials> for Wpa1Credentials
impl TryFrom<PersonalCredentials> for Wpa1Credentials
Source§type Error = SecurityError
type Error = SecurityError
The type returned in the event of a conversion error.
Source§impl TryFrom<PersonalCredentials> for Wpa2PersonalCredentials
impl TryFrom<PersonalCredentials> for Wpa2PersonalCredentials
Source§type Error = SecurityError
type Error = SecurityError
The type returned in the event of a conversion error.
Source§impl TryFrom<PersonalCredentials> for Wpa3PersonalCredentials
impl TryFrom<PersonalCredentials> for Wpa3PersonalCredentials
Source§type Error = SecurityError
type Error = SecurityError
The type returned in the event of a conversion error.
impl Eq for PersonalCredentials
impl StructuralPartialEq for PersonalCredentials
Auto Trait Implementations§
impl Freeze for PersonalCredentials
impl RefUnwindSafe for PersonalCredentials
impl Send for PersonalCredentials
impl Sync for PersonalCredentials
impl Unpin for PersonalCredentials
impl UnwindSafe for PersonalCredentials
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> OptionalField for Twhere
T: ?Sized,
impl<T> OptionalField for Twhere
T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)