Skip to main content

Module server

Module server 

Source
Expand description

The trace daemon: decode pipeline + WebSocket fan-out.

A TraceServer owns the ITM decoder and the Translator. Bytes pushed in via TraceServer::ingest are decoded, translated to TraceEvents, serialized to JSON, and broadcast to every connected WebSocket client. The server is transport-agnostic: bytes can come from OpenOCD, a TCP trace port, or a captured-file replay (see crate::source).

Structsยง

TraceServer
The shared trace server. Clone the Arc, not the server.