destack:simulation/fault import destack:simulation/fault Classes - FaultSet — Triggered fault set for one simulated attempt. Structs - ClockDrift — Clock drift fault. - ClockFreeze — Clock freeze fault. - ClockJitter — Clock jitter fault. - ClockJump — Clock jump fault. - ClockResolution — Clock resolution fault. - CustomFault — User-defined simulation fault. - Delay — Deterministic delay payload. - Error — Error payload for operation and randomness faults. - LifecycleCrash — Lifecycle crash fault. - LifecyclePause — Lifecycle pause fault. - LifecycleReboot — Lifecycle reboot fault. - LifecycleRestart — Lifecycle restart fault. - OperationDelay — Deterministic operation delay fault. - OperationError — Deterministic operation error fault. - OperationTimeout — Deterministic operation timeout fault. - RandomBias — Random bias fault. - RandomError — Random-source error fault. - RandomRepeat — Random repeat fault. - RandomZero — Random zero-fill fault. - ResourceLimit — Resource limit fault. - ResourcePressure — Resource pressure fault. - StorageConsistency — Storage consistency fault payload. - StorageCorrupt — Storage corruption fault. - StorageDurability — Storage durability fault payload. - StorageOrder — Storage ordering fault payload. - TransportBlackhole — Transport blackhole fault. - TransportCorrupt — Transport corruption fault. - TransportDelay — Transport delay fault. - TransportDisconnect — Transport disconnect fault. - TransportDrop — Transport drop fault. - TransportDuplicate — Transport duplicate fault. - TransportFragment — Transport fragmentation fault. - TransportLimit — Transport limit fault. - TransportPartial — Transport partial-delivery fault. - TransportPartition — Transport partition fault. - TransportReorder — Transport reorder fault. - TransportReset — Transport reset fault. - TriggeredFault — Fault accepted by a scenario rule. Enums - ConsistencyFault — Storage consistency fault. - CorruptionMode — Data corruption mode for payload faults. - CorruptionTarget — Storage corruption target. - DurabilityFault — Storage durability fault. - JitterDistribution — Delay jitter distribution. - OrderFault — Storage ordering fault. - Resource — Resource class for capacity and quota faults. Newtypes - ClockFault — Clock fault. - ErrorCode — Stable error code used by simulation faults. - Fault — Simulation fault payload. - LifecycleFault — Lifecycle fault. - OperationFault — Operation fault. - RandomFault — Random fault. - ResourceFault — Resource fault. - ResourceLimitValue — Resource limit value with explicit units. - StorageFault — Storage fault. - TransportFault — Transport fault. - TransportLimitMode — Transport limit mode for delivery-shaped faults. Functions - custom — Create a user-defined simulation fault.