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
Trait Implementations
sourceimpl Addresses for Beacon
impl Addresses for Beacon
sourcefn 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). Read more
sourcefn dest(&self) -> &MacAddress
fn dest(&self) -> &MacAddress
Returns the destination of the Frame. This should always be present. Read more
sourcefn bssid(&self) -> Option<&MacAddress>
fn bssid(&self) -> Option<&MacAddress>
This isn’t always send in every frame (e.g. RTS).
Auto Trait Implementations
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnwindSafe for Beacon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more