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