Skip to main content

Module trace

Module trace 

Source
Expand description

Cross-cutting trace port: the trait lives in core so the application layer can emit events without knowing which backend receives them.

Rule: only the trait and the event structs live here. Adapter implementations (NoopTrace, RecordingTrace, MultiTrace, etc.) belong in the substrate-trace crate.

Structs§

TaskCompleted
An event fired when a task completes successfully.
TaskFailed
An event fired when a task fails.
TaskRegistered
An event fired when a task is first registered with the system.

Traits§

TracePort
The cross-cutting trace port.