Crate udp_pinger

Crate udp_pinger 

Source

Structs§

PingStats
Aggregate stats across the in-memory window.
Pinger
The main pinger struct.
TimeSync
Keeps track of time synchronization between local system clock and remote clock. The remote clock is assumed to be monotonically increasing at the same rate as the local clock. The remote clock can be in any time domain (e.g., epoch time, time since boot, etc.).

Enums§

EitherUdpSocket
PingError
PingSample
A single ping attempt result.

Functions§

system_to_instant
Convert a SystemTime to an Instant, if possible. This is only possible if the SystemTime is after the start of this program. Otherwise, returns None.