Expand description
§substrate-trace
Concrete TracePort adapters. The trait itself is defined in
substrate-core so the application layer can emit events without
depending on any adapter crate.
§Adapters
| Type | Purpose |
|---|---|
NoopTrace | Silently discards all events (useful as a default). |
RecordingTrace | Stores events in memory for test assertions. |
MultiTrace | Fans a single event stream out to N TracePorts. |
AgilePlusTrace | POSTs events to the AgilePlus API. |
TraceraTrace | POSTs events to the Tracera API. |
Structs§
- Agile
Plus Trace - A
TracePortthat POSTs events to the AgilePlus API. - Multi
Trace - A
TracePortthat fans every event out to N downstreamTracePorts. - Noop
Trace - A
TracePortthat silently discards every event. - Recording
Trace - An in-memory
TracePortthat records every event for later inspection. - Tracera
Trace - A
TracePortthat POSTs events to the Tracera API.
Enums§
- Trace
Event - A discriminated union of the three trace event kinds, stored by
RecordingTrace.