pub struct Stats {
pub packets_tx: u64,
pub packets_rx: u64,
pub bytes_tx: u64,
pub bytes_rx: u64,
pub messages_tx: u64,
pub messages_rx: u64,
}Expand description
Traffic counters (for a status screen).
Fields§
§packets_tx: u64§packets_rx: u64§bytes_tx: u64§bytes_rx: u64§messages_tx: u64PUBLISH packets sent / received (application messages).
messages_rx: u64Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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