pub struct LinkMetrics {
pub rssi_dbm: i8,
pub retransmit_rate: f32,
pub last_updated: u64,
}Expand description
Per-face link quality metrics, updated by the nl80211 task.
Fields§
§rssi_dbm: i8Received signal strength in dBm.
retransmit_rate: f32MAC-layer retransmission rate (0.0–1.0).
last_updated: u64Last updated (ns since Unix epoch).
Trait Implementations§
Source§impl Clone for LinkMetrics
impl Clone for LinkMetrics
Source§fn clone(&self) -> LinkMetrics
fn clone(&self) -> LinkMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkMetrics
impl Debug for LinkMetrics
Source§impl Default for LinkMetrics
impl Default for LinkMetrics
Source§fn default() -> LinkMetrics
fn default() -> LinkMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinkMetrics
impl RefUnwindSafe for LinkMetrics
impl Send for LinkMetrics
impl Sync for LinkMetrics
impl Unpin for LinkMetrics
impl UnwindSafe for LinkMetrics
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