pub struct KeyInfo {
pub descriptor_version: u8,
pub pairwise: bool,
pub install: bool,
pub ack: bool,
pub mic: bool,
pub secure: bool,
pub error: bool,
pub request: bool,
pub encrypted: bool,
}Expand description
Key information flags (16-bit field in EAPOL-Key frame)
Fields§
§descriptor_version: u8Key descriptor version (1=HMAC-MD5/RC4, 2=HMAC-SHA1/AES, 3=AES-128-CMAC)
pairwise: boolPairwise key (1) vs Group key (0)
install: boolInstall key flag
ack: boolKey ACK flag (set by authenticator)
mic: boolMIC flag (MIC is present and valid)
secure: boolSecure flag (pairwise key installed)
error: boolError flag
request: boolRequest flag
encrypted: boolEncrypted Key Data flag
Implementations§
Trait Implementations§
impl Copy for KeyInfo
impl Eq for KeyInfo
impl StructuralPartialEq for KeyInfo
Auto Trait Implementations§
impl Freeze for KeyInfo
impl RefUnwindSafe for KeyInfo
impl Send for KeyInfo
impl Sync for KeyInfo
impl Unpin for KeyInfo
impl UnwindSafe for KeyInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)