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§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<WpaCredentials> for Wpa2PersonalCredentials
impl TryFrom<WpaCredentials> for Wpa2PersonalCredentials
Source§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
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
)