pub fn encode(peer: &str, op: u8, kind: u8) -> [u8; 35]Expand description
Build one event payload. Split out from the send so the caller owns the buffer and this stays allocation-free (§26.6.1 - fixed stack, no heap).
The timestamp field is left ZERO and stamped by the SINK - reading a clock here is a CMOS RTC
read on the caller’s hot path (see ServiceContext::trace_emit), and an observer that costs the
observed a millisecond of port I/O per IPC is not an observer, it is a brake.