Crate network_commons

Source
Expand description

This crate provides a library for implementing the Two-Way Active Measurement Protocol (TWAMP), which is a protocol for measuring the performance of IP networks. The library provides various abstractions and utilities for customizing and running TWAMP tests.

§Usage

To use this crate, add the following to your Cargo.toml file:

[dependencies]
twamp = "*"

Modules§

epoll_loop
error
event_loop
interval
socket
stats
tcp_socket
time
udp_socket

Macros§

assert_approx_eq
libc_call

Traits§

Strategy
A trait representing a Test strategy, which is an abstraction for Test implementors to customize the runtime of the test. Implementors of this trait provide a custom implementation of the execute method, which is called to execute the Test test with the specified configuration.
TestResult