Skip to main content

TraceSender

Type Alias TraceSender 

Source
pub type TraceSender = Sender<Trace>;
Expand description

Sending half of the trace channel; cheap to clone, safe to share across request handlers. Sending is fire-and-forget via try_send — the hot path never awaits the writer, and a bounded buffer means a stalled writer sheds load (drops traces) instead of growing memory without limit.

Aliased Type§

pub struct TraceSender { /* private fields */ }