Struct ieee80211::BeaconFrame
source · pub struct BeaconFrame<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl BeaconFixedParametersTrait for BeaconFrame<'_>
impl BeaconFixedParametersTrait for BeaconFrame<'_>
const FIXED_PARAMETERS_START: usize = 24usize
source§fn beacon_interval(&self) -> f64
fn beacon_interval(&self) -> f64
in seconds
fn capabilities_info(&self) -> CapabilitiesInfo
source§impl FragmentSequenceTrait for BeaconFrame<'_>
impl FragmentSequenceTrait for BeaconFrame<'_>
const FRAGMENT_SEQUENCE_START: usize = 22usize
const FRAGMENT_SEQUENCE_END: usize = _
source§fn fragment_number(&self) -> u8
fn fragment_number(&self) -> u8
Fragment Number
source§fn sequence_number(&self) -> u16
fn sequence_number(&self) -> u16
Sequence Number
source§impl FrameTrait for BeaconFrame<'_>
impl FrameTrait for BeaconFrame<'_>
fn bytes(&self) -> &[u8] ⓘ
fn version(&self) -> FrameVersion
source§fn subtype(&self) -> FrameSubtype
fn subtype(&self) -> FrameSubtype
IEEE 802.11 Frame Subtype
fn ds_status(&self) -> DSStatus
source§fn more_fragments(&self) -> bool
fn more_fragments(&self) -> bool
0: This is the last fragment
1: More fragments follow
source§fn duration_or_id(&self) -> DurationID
fn duration_or_id(&self) -> DurationID
Duration or Association Identifier
fn addr1(&self) -> MacAddress
source§fn receiver_address(&self) -> MacAddress
fn receiver_address(&self) -> MacAddress
Receiver Address
Who this packet is destined for wirelessly.
Address 1
source§fn destination_address(&self) -> Option<MacAddress>
fn destination_address(&self) -> Option<MacAddress>
Destination Address
Who the packet is destined for.
source§impl ManagementFrameTrait for BeaconFrame<'_>
impl ManagementFrameTrait for BeaconFrame<'_>
fn addr2(&self) -> MacAddress
fn addr3(&self) -> MacAddress
source§fn transmitter_address(&self) -> Option<MacAddress>
fn transmitter_address(&self) -> Option<MacAddress>
Transmitter Address
Who this packet came from wirelessly.
source§fn source_address(&self) -> Option<MacAddress>
fn source_address(&self) -> Option<MacAddress>
Source Address
Who the packet came from.
source§fn bssid_address(&self) -> Option<MacAddress>
fn bssid_address(&self) -> Option<MacAddress>
Basic Service Set Address (BSSID)
Basic Service Set ID for Multicast.
source§fn station_address(&self) -> Option<MacAddress>
fn station_address(&self) -> Option<MacAddress>
Station Address
source§impl TaggedParametersTrait for BeaconFrame<'_>
impl TaggedParametersTrait for BeaconFrame<'_>
const TAGGED_PARAMETERS_START: usize = 36usize
fn iter_tagged_parameters(&self) -> TaggedParameterIterator<'_> ⓘ
fn tagged_parameters(&self) -> Result<TaggedParameters<'_>, OverflowError>
fn ssid(&self) -> Option<Vec<u8>>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BeaconFrame<'a>
impl<'a> Send for BeaconFrame<'a>
impl<'a> Sync for BeaconFrame<'a>
impl<'a> Unpin for BeaconFrame<'a>
impl<'a> UnwindSafe for BeaconFrame<'a>
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