wlan_common::security::wpa

Type Alias 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§

Trait Implementations§

Source§

impl From<EnterpriseCredentials> for Credentials

Source§

fn from(enterprise: EnterpriseCredentials) -> Self

Converts to this type from the input type.
Source§

impl From<PersonalCredentials> for Credentials

Source§

fn from(personal: PersonalCredentials) -> Self

Converts to this type from the input type.