Struct wlan_common::ie::Id
source · #[repr(C, packed(1))]pub struct Id(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl Id
impl Id
pub const SSID: Self = _
pub const SUPPORTED_RATES: Self = _
pub const DSSS_PARAM_SET: Self = _
pub const TIM: Self = _
pub const COUNTRY: Self = _
pub const CHANNEL_SWITCH_ANNOUNCEMENT: Self = _
pub const HT_CAPABILITIES: Self = _
pub const RSNE: Self = _
pub const EXTENDED_SUPPORTED_RATES: Self = _
pub const MOBILITY_DOMAIN: Self = _
pub const EXTENDED_CHANNEL_SWITCH_ANNOUNCEMENT: Self = _
pub const HT_OPERATION: Self = _
pub const SECONDARY_CHANNEL_OFFSET: Self = _
pub const RM_ENABLED_CAPABILITIES: Self = _
pub const BSS_MAX_IDLE_PERIOD: Self = _
pub const MESH_PEERING_MGMT: Self = _
pub const EXT_CAPABILITIES: Self = _
pub const PREQ: Self = _
pub const PREP: Self = _
pub const PERR: Self = _
pub const VHT_CAPABILITIES: Self = _
pub const VHT_OPERATION: Self = _
pub const WIDE_BANDWIDTH_CHANNEL_SWITCH: Self = _
pub const TRANSMIT_POWER_ENVELOPE: Self = _
pub const CHANNEL_SWITCH_WRAPPER: Self = _
pub const VENDOR_SPECIFIC: Self = _
pub const EXTENSION: Self = _
Trait Implementations§
source§impl FromBytes for Idwhere
u8: FromBytes,
impl FromBytes for Idwhere
u8: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl IntoBytes for Idwhere
u8: IntoBytes,
impl IntoBytes for Idwhere
u8: IntoBytes,
impl Copy for Id
impl Eq for Id
impl StructuralPartialEq for Id
impl Unaligned for Id
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
Blanket Implementations§
source§impl<T> AsBytesExt for Twhere
T: IntoBytes + NoCell,
impl<T> AsBytesExt for Twhere
T: IntoBytes + NoCell,
source§fn as_bytes_ref(&self) -> Ref<&[u8], Self>
fn as_bytes_ref(&self) -> Ref<&[u8], Self>
Gets a byte slice reference from a reference to
Self
. Read moresource§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more