tokio-netem 0.1.0

tokio-netem — pragmatic I/O adapters for chaos & network emulation Small, composable Tokio adapters that let you shape and sabotage I/O for tests, demos, and staging: latency, throttling, slicing, terminations, forced shutdowns, data injections and data corruption without touching your application code. Works with anything that implements AsyncRead/AsyncWrite: TcpStream, TLS, pipes, DuplexStream, etc.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![doc = include_str!("../README.md")]

pub mod corrupter;
pub mod delayer;
pub mod injector;
pub mod io;
pub mod probability;
pub mod shutdowner;
pub mod slicer;
pub mod terminator;
pub mod throttler;
pub mod utils;