Expand description
Latency injection: simulate slow-but-not-failing operations.
LatencyInjector produces a deterministic delay per attempt
according to a LatencyProfile. It composes with
FailureSchedule (see LatencyInjector::compose_with_schedule):
inject latency on every call, inject failures on a subset.
Structs§
- Latency
AndFailure - A latency injector composed with a
FailureSchedule. - Latency
Injector - Computes per-attempt delays from a
LatencyProfile.
Enums§
- Latency
Profile - Per-attempt latency profile.