Skip to main content

Module observe

Module observe 

Source
Expand description

What a run reports about itself: as it goes, to an Observer, and once it ends, on its Run, with its Trace when one was asked for.

Structs§

Interest
What an Observer asks for: a set of flags. | and |= unite two sets, union does in a const, and contains tests one.
Replay
A trace replayed on demand, with one working context.
Trace
A run’s trace: initial, then each step’s changes.
TraceOptions
What a run’s trace records. A run is traced when RunOptions::trace is given these.
TraceStep
One step of a Trace.

Enums§

Event
One event of a run, borrowed for the call to Observer::on: an observer copies out what it keeps.
StepResult
What a step was. Serialized, and read, as its lowercase name.

Traits§

Observer
What a host is told about a run as it goes: counters, histograms and spans, kept by the host.