pub struct WfbLinkState {
pub status: String,
pub active: bool,
pub channel: Option<u32>,
pub rssi_dbm: Option<i32>,
pub valid_rx_packets_per_s: Option<f64>,
pub tx_bytes_per_s: Option<f64>,
pub extra: Extra,
}Expand description
The radio link state projected from the WFB manager’s sidecar.
status and active are the always-present summary; the numeric link
stats are Option because they only exist once a link is up. New
signals (per-stream stats, antenna diversity, fec) ride the extra map.
Fields§
§status: StringCoarse link status (e.g. locked, searching, down).
active: boolWhether the radio transport is currently running.
channel: Option<u32>Active WFB channel, when bound.
rssi_dbm: Option<i32>Received signal strength in dBm, when a peer is heard.
valid_rx_packets_per_s: Option<f64>Decoded (FEC + decrypt) received packets per second.
tx_bytes_per_s: Option<f64>Transmit throughput in bytes per second.
extra: ExtraAny extra link fields the manager surfaces.
Trait Implementations§
Source§impl Clone for WfbLinkState
impl Clone for WfbLinkState
Source§impl Debug for WfbLinkState
impl Debug for WfbLinkState
Source§impl Default for WfbLinkState
impl Default for WfbLinkState
Source§impl<'de> Deserialize<'de> for WfbLinkState
impl<'de> Deserialize<'de> for WfbLinkState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WfbLinkState
impl PartialEq for WfbLinkState
Source§impl Serialize for WfbLinkState
impl Serialize for WfbLinkState
impl StructuralPartialEq for WfbLinkState
Auto Trait Implementations§
impl Freeze for WfbLinkState
impl RefUnwindSafe for WfbLinkState
impl Send for WfbLinkState
impl Sync for WfbLinkState
impl Unpin for WfbLinkState
impl UnsafeUnpin for WfbLinkState
impl UnwindSafe for WfbLinkState
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