pub fn frame_schema_with(
schema: &SeriesSchema,
mode: FrameLabelMode,
decode: Option<&LabelDecodeSpec>,
ordering: SeriesOrdering,
) -> Result<SchemaRef>Expand description
Assembles a declared frame schema from an explicit label mode and decode description.
The mode and description pair is checked by [series_frame_schema], so a key mode without a
description and an explicit mode with one are both rejected here instead of reaching the wire.
A node that re-declares its child’s frame and publishes under that declaration uses this: the
declaration has to survive the round trip, and this is the one place that decides what it is.