Expand description
A more or less generic “traffic” shaper that can be used to modify the delivery of payloads.
Supports various simulated network conditions, such as:
- Delay (using a user provided function)
- Packet loss
- Packet reordering
- Packet corruption
- Packet duplication
- Bandwidth limiting
See TrafficShaper for more information.
Structs§
- A traffic shaper that can simulate various network conditions.
Traits§
- A trait for payloads that can be used with the TrafficShaper.
Functions§
- Uses
rand_distr::Normalto generate a normal distribution. - Uses
rand_distr::SkewNormalto generate a skewed distribution.