[][src]Module simulation::deterministic

Determinstic scheduling, IO and fault injection for Tokio

The goal of this crate is to provide FoundationDB style simulation testing for all.

Structs

DeterministicRuntime
DeterministicRuntimeHandle
FaultInjector
FaultInjectorHandle
Listener
MemoryStream

MemoryStream is a unidirectional in-memory byte stream supporting fault injection. Each call to poll with attempt to inject delay faults. Upon the first call to poll, a waker will be registered for a disconnect fault.

Type Definitions

ClientConnection

An in-memory connection from a client to a server.

ServerConnection

An in-memory connection from a server to a client.