Struct eapol::PacketType
source · #[repr(C)]pub struct PacketType(_);
Implementations§
source§impl PacketType
impl PacketType
pub const EAP: Self = _
pub const START: Self = _
pub const LOGOFF: Self = _
pub const KEY: Self = _
pub const ASF_ALERT: Self = _
pub const MKA: Self = _
pub const ANNOUNCEMENT_GENERIC: Self = _
pub const ANNOUNCEMENT_SPECIFIC: Self = _
pub const ANNOUNCEMENT_REQ: Self = _
Trait Implementations§
source§impl AsBytes for PacketTypewhere
u8: AsBytes,
HasPadding<PacketType, { _ }>: ShouldBe<{ _ }>,
impl AsBytes for PacketTypewhere u8: AsBytes, HasPadding<PacketType, { _ }>: 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 PacketType
impl Clone for PacketType
source§fn clone(&self) -> PacketType
fn clone(&self) -> PacketType
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 PacketType
impl Debug for PacketType
source§impl FromBytes for PacketTypewhere
u8: FromBytes,
impl FromBytes for PacketTypewhere 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<PacketType> for PacketType
impl PartialEq<PacketType> for PacketType
source§fn eq(&self, other: &PacketType) -> bool
fn eq(&self, other: &PacketType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.