pub enum IeType {
Ieee {
id: Id,
extension: Option<u8>,
},
Vendor {
vendor_ie_hdr: [u8; 6],
},
}
Variants§
Implementations§
Source§impl IeType
impl IeType
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 WMM_INFO: Self
pub const WMM_PARAM: Self
pub const fn new_basic(id: Id) -> Self
pub const fn new_extended(ext_id: u8) -> Self
pub const fn new_vendor(vendor_ie_hdr: [u8; 6]) -> Self
pub const fn basic_id(&self) -> Id
Sourcepub fn extra_bytes(&self) -> &[u8] ⓘ
pub fn extra_bytes(&self) -> &[u8] ⓘ
Return the bytes consumed from the IE body (not IE header) to construct IeType
Trait Implementations§
Source§impl Ord for IeType
impl Ord for IeType
Source§impl PartialOrd for IeType
impl PartialOrd for IeType
impl Copy for IeType
impl Eq for IeType
impl StructuralPartialEq for IeType
Auto Trait Implementations§
impl Freeze for IeType
impl RefUnwindSafe for IeType
impl Send for IeType
impl Sync for IeType
impl Unpin for IeType
impl UnwindSafe for IeType
Blanket Implementations§
Source§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