Skip to main content

materialize_raw_labels

Function materialize_raw_labels 

Source
pub fn materialize_raw_labels(
    source: SendableRawSeriesStream,
) -> Result<SendableRawSeriesStream, BoxedError>
Expand description

Materializes complete metric labels from a raw-series frame stream.

The labels are decoded from the stream’s own label decode description, so a consumer that holds only the frame needs no scan-bound binding; a stream that carries complete labels already, and so declares no description, needs no decoder and is forwarded as supplied. Adjacent-chunk pack/unpack validation remains the caller’s responsibility, and nonadjacent key recurrence is governed by the producer contract. Explicit labels are retained as supplied; their completeness cannot be inferred from the schema. No authorization or cross-stream completion is performed here.