pub type WpaDescriptor = Wpa<()>;
Expand description

WPA descriptor.

Describes the configuration of the WPA security protocol. WPA descriptors optionally specify a pairwise cipher. Descriptors that lack this information are simply less specific than descriptors that include it.

Aliased Type§

enum WpaDescriptor {
    Wpa1 {
        credentials: (),
    },
    Wpa2 {
        cipher: Option<Wpa2Cipher>,
        authentication: Authentication,
    },
    Wpa3 {
        cipher: Option<Wpa3Cipher>,
        authentication: Authentication,
    },
}

Variants§

§

Wpa1

Fields

§credentials: ()
§

Wpa2

Fields

§authentication: Authentication
§

Wpa3

Fields

§authentication: Authentication

Implementations§

Trait Implementations§

source§

impl Hash for WpaDescriptor

source§

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more