medius 3.4.2

Host control library for the medius transparent mouse passthrough box
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Snapshot of the always-on link counters.

/// Copyable snapshot of the always-on link counters, for diagnostics.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct CountersSnapshot {
    /// Frames written to the transport.
    pub frames_tx: u64,
    /// Frames decoded from the transport.
    pub frames_rx: u64,
    /// Frames dropped for a failed CRC.
    pub crc_drops: u64,
    /// Successful reconnects.
    pub reconnects: u64,
    /// Device-chip restarts recovered by re-sending the held state.
    pub restarts: u64,
}