Skip to main content

Module codec

Module codec 

Source
Expand description

Wire-format encoding and decoding for trace frames.

This module contains the low-level frame codec. Most users should use Encoder and Decoder instead. The types WireTypeId, PoolEntry, and PoolEntryRef are re-exported here because they appear in the decoder’s public API.

Structs§

PoolEntry
An owned string pool entry.
PoolEntryRef
Zero-copy pool entry borrowing from the input buffer.
WireTypeId
Type ID as it appears on the wire (u16 in schema/event frame headers). Assigned sequentially by the encoder; the decoder reads them from the stream.