Skip to main content

Module decoder

Module decoder 

Source

Structs§

DecodeError
Error returned when the decoder cannot continue reading the stream. Because frames are not length-prefixed, a decode error is unrecoverable — the decoder cannot skip the malformed frame to find the next one.
Decoder
EventIter
Iterator that yields only DecodedFrameRef::Event frames, consuming non-event frames to keep decoder state up to date.
RawEvent
A decoded event passed to Decoder::for_each_event.
StringPool
A map from interned string IDs to their resolved string values.

Enums§

DecodedFrame
Decoded events yielded by the decoder.
DecodedFrameRef
Zero-copy decoded frame that borrows from the input buffer.