Module simulation

Source

Modules§

events
proto
trace

Structs§

Builder
Builder for constructing simulation configurations.
NodeBuilder
Builder for configuring individual nodes in a simulation.
RoundContext
Context provided during each simulation round.
Simulation
A configured simulation ready to run.
SpawnContext
Context provided when spawning a new simulation node.

Constants§

ENV_TRACE_INIT_ONLY
Environment variable name for initialization-only mode.
ENV_TRACE_ISOLATED
Environment variable name for running a single isolated node by index.
ENV_TRACE_SERVER
Environment variable name for the trace server address.
ENV_TRACE_SESSION_ID
Environment variable name for the simulation session ID.

Traits§

AsyncCallback
Helper trait for async functions.
DynNode
Trait for dynamically-typed simulation nodes.
Node
Trait for simulation node implementations.
SetupData
Trait for user-defined setup data that can be shared across simulation nodes.
Spawn
Trait for types that can be spawned as simulation nodes.

Type Aliases§

BoxNode
A boxed dynamically-typed simulation node.