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 duplicate 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§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<WpaCredentials> for Wpa1Credentials
 
impl TryFrom<WpaCredentials> for Wpa1Credentials
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§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
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)