pub struct Beacon {
pub header: ManagementHeader,
pub timestamp: u64,
pub beacon_interval: u16,
pub capability_info: u16,
pub station_info: StationInfo,
}
Fields§
§header: ManagementHeader
§timestamp: u64
§beacon_interval: u16
§capability_info: u16
§station_info: StationInfo
Implementations§
Trait Implementations§
Source§impl Addresses for Beacon
impl Addresses for Beacon
Source§fn src(&self) -> Option<&MacAddress>
fn src(&self) -> Option<&MacAddress>
Returns the sender of the Frame.
This isn’t always send in every frame (e.g. CTS).
Source§fn dest(&self) -> &MacAddress
fn dest(&self) -> &MacAddress
Returns the destination of the Frame.
This should always be present.
Source§fn bssid(&self) -> Option<&MacAddress>
fn bssid(&self) -> Option<&MacAddress>
This isn’t always send in every frame (e.g. RTS).
Auto Trait Implementations§
impl Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnwindSafe for Beacon
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