Struct eapol::KeyDescriptor
source · #[repr(C)]pub struct KeyDescriptor(_);
Implementations§
source§impl KeyDescriptor
impl KeyDescriptor
pub const RESERVED: Self = _
pub const RC4: Self = _
pub const IEEE802DOT11: Self = _
pub const LEGACY_WPA1: Self = _
Trait Implementations§
source§impl AsBytes for KeyDescriptorwhere
u8: AsBytes,
HasPadding<KeyDescriptor, { _ }>: ShouldBe<{ _ }>,
impl AsBytes for KeyDescriptorwhere u8: AsBytes, HasPadding<KeyDescriptor, { _ }>: ShouldBe<{ _ }>,
§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,
§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where B: ByteSliceMut,
source§impl Clone for KeyDescriptor
impl Clone for KeyDescriptor
source§fn clone(&self) -> KeyDescriptor
fn clone(&self) -> KeyDescriptor
Returns a copy 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 KeyDescriptor
impl Debug for KeyDescriptor
source§impl Default for KeyDescriptor
impl Default for KeyDescriptor
source§fn default() -> KeyDescriptor
fn default() -> KeyDescriptor
Returns the “default value” for a type. Read more
source§impl FromBytes for KeyDescriptorwhere
u8: FromBytes,
impl FromBytes for KeyDescriptorwhere u8: FromBytes,
§fn read_from_prefix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
fn read_from_prefix<B>(bytes: B) -> Option<Self>where B: ByteSlice, Self: Sized,
§fn read_from_suffix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
fn read_from_suffix<B>(bytes: B) -> Option<Self>where B: ByteSlice, Self: Sized,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere Self: Sized,
Creates an instance of
Self
from zeroed bytes.source§impl PartialEq<KeyDescriptor> for KeyDescriptor
impl PartialEq<KeyDescriptor> for KeyDescriptor
source§fn eq(&self, other: &KeyDescriptor) -> bool
fn eq(&self, other: &KeyDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.