Expand description
Trace event types.
Structsยง
- ByteStr ๐
- Wrapper that serializes as a CBOR byte string (major type 2). Without this
wrapper, serializing
&[u8]via genericSerializeproduces a CBOR array of u8. - Trace
Event - A single event in a
.moqtracefile.
Enumsยง
- Direction
- Direction of a message or stream relative to the recording endpoint.
- Event
Data - Event-specific payload, discriminated by type.
- Stream
Type - Data stream type.
Constantsยง
- EVENT_
ANNOTATION ๐ - EVENT_
CONTROL_ ๐MESSAGE - Event type discriminant. Matches FORMAT.md
"e"values. - EVENT_
ERROR ๐ - EVENT_
OBJECT_ ๐HEADER - EVENT_
OBJECT_ ๐PAYLOAD - EVENT_
STATE_ ๐CHANGE - EVENT_
STREAM_ ๐CLOSED - EVENT_
STREAM_ ๐OPENED
Functionsยง
- get_
bytes ๐ - Helper to extract byte string from a CBOR map by key.
- get_int ๐
- Helper to extract an i64 from a CBOR map by key.
- get_
text ๐ - Helper to extract a text string from a CBOR map by key.
- get_
uint ๐ - Helper to extract a u64 from a CBOR map by key.
- get_
value ๐ - Helper to extract a value from a CBOR map by key.
- require_
direction ๐ - require_
int ๐ - require_
text ๐ - require_
uint ๐ - require_
value ๐