Type Alias wlan_common::security::wpa::Credentials
source · pub type Credentials = Authentication<PersonalCredentials, EnterpriseCredentials>;
Expand description
General WPA credentials.
Provides credentials keyed by WPA Personal and WPA Enterprise suite. This type is general and can represent credentials used across versions of WPA.
Aliased Type§
enum Credentials {
Personal(PersonalCredentials),
Enterprise(EnterpriseCredentials),
}
Variants§
Personal(PersonalCredentials)
Enterprise(EnterpriseCredentials)
Trait Implementations§
source§impl From<EnterpriseCredentials> for Credentials
impl From<EnterpriseCredentials> for Credentials
source§fn from(enterprise: EnterpriseCredentials) -> Self
fn from(enterprise: EnterpriseCredentials) -> Self
Converts to this type from the input type.
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.