pub struct StatusData {}Expand description
Status data from a device
Fields§
§battery_mv: u16Battery voltage in millivolts
tx_queue_len: u16TX queue length
noise_floor: i16Noise floor (dBm)
last_rssi: i16Last RSSI (dBm)
nb_recv: u32Number of packets received
nb_sent: u32Number of packets sent
airtime: u32Total airtime (ms)
uptime: u32Uptime (seconds)
flood_sent: u32Flood packets sent
direct_sent: u32Direct packets sent
snr: f32SNR (divided by 4)
dup_count: u32Duplicate packet count
rx_airtime: u32RX airtime (ms)
sender_prefix: [u8; 6]Sender public key prefix
Trait Implementations§
Source§impl Clone for StatusData
impl Clone for StatusData
Source§fn clone(&self) -> StatusData
fn clone(&self) -> StatusData
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 moreAuto Trait Implementations§
impl Freeze for StatusData
impl RefUnwindSafe for StatusData
impl Send for StatusData
impl Sync for StatusData
impl Unpin for StatusData
impl UnsafeUnpin for StatusData
impl UnwindSafe for StatusData
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