Crate shadow_rs

source ·
Expand description

The Shadow network simulator.

Shadow is a discrete-event network simulator that directly executes real application code, enabling you to simulate distributed systems with thousands of network-connected processes in realistic and scalable private network experiments using your laptop, desktop, or server running Linux.

Modules§

  • The core infrastructure needed to configure and run the simulator.
  • cbindgen:ignore
  • Process management and emulation of Linux behaviour.
  • The network simulation.
  • The main entrypoint to Shadow.
  • Miscellaneous utilities that are used by Shadow.

Macros§

  • Log a message once at level lvl_once, and any later log messages from this line at level lvl_remaining. A log target is not supported. The string “(LOG_ONCE)” will be prepended to the message to indicate that future messages won’t be logged at lvl_once.