Module round_trip_statistics

Source
Expand description

Ping command round trip metrics.

Example:

use ping_command::round_trip_statistics::RoundTripStatistics;
let round_trip_statistics = RoundTripStatistics {
    min: 12.445,
    max: 61.365,
    average: 26.791,
    standard_deviation: 20.049,
};
assert_eq!(round_trip_statistics.min, 12.445);
assert_eq!(round_trip_statistics.max, 61.365);
assert_eq!(round_trip_statistics.average, 26.791);
assert_eq!(round_trip_statistics.standard_deviation, 20.049);

Structsยง

ParseError
RoundTripStatistics