Skip to main content

Module encoder

Module encoder 

Source
Expand description

Two-phase encoder: plan is pure and commit writes one frame.

Structs§

BuildCtx
Build-time context for predictor construction.
EncodeInfo
Statistics and saturation flags returned by a successful commit.
Encoder
Encoder for one message of a schema set.
EncoderConfig
Encoder configuration: tick duration and the optional reset budget.
EncoderStorage
Borrowed storage for one encoder instance.
FieldInfo
NumericFinal
Plan
A pure encoding decision; feed it to Encoder::commit to write a frame.
PlanBuf
Borrowed plan buffer for no-alloc encoding.
ScalarDesc
Scalar descriptor used for list elements and scalar metadata.

Enums§

ConfigError
Configuration errors detected when constructing an encoder.
EncodeError
Errors returned by encoding operations.
FieldKind
FinalValue
PredictorState
Presence
The two-bit state written for one predictor field.

Traits§

PredictorBuilder

Functions§

make_field_info