Skip to main content

Module sim

Module sim 

Source
Available on crate feature sim only.
Expand description

Deterministic simulation testing support for Hydro programs.

See crate::compile::builder::FlowBuilder::sim and crate::sim::flow::SimFlow for more details.

Re-exports§

pub use compiled::quiesce;stageleft_runtime

Modules§

codec
Serialization codecs for simulation inputs and outputs.
compiledstageleft_runtime
Interfaces for compiled Hydro simulators and concrete simulation instances.
flowstageleft_runtime
Entrypoint for compiling and running Hydro simulations.
hooksstageleft_runtime
Test-side API for simulator hooks: scripting the decisions of unsafe operators.

Macros§

continue_if
Continues the current simulation instance only if the given condition holds, otherwise stopping and discarding the instance.

Structs§

SimClusterReceiver
A receiver for an external cluster stream in a simulation.
SimClusterSender
A sender to an external cluster sink in a simulation.
SimReceiver
A receiver for an external stream in a simulation.
SimSender
A sender to an external sink in a simulation.