Crate chokepoint

Source
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§

Functions§