Skip to main content

d16_track_ext_name

Function d16_track_ext_name 

Source
fn d16_track_ext_name(key: u64) -> Option<&'static str>
Expand description

Every Track-scoped Extension Header Type draft-16 Section 13.3 Table 9 assigns.

A separate table from d16_msg_param_name because the two registries reuse numbers for different things: 0x22 is GROUP_ORDER as a Message Parameter and DEFAULT_PUBLISHER_GROUP_ORDER as an Extension Header, and 0x02 is DELIVERY_TIMEOUT in both while meaning one endpoint’s request in one and a property of the track in the other.

0x0B, 0x22 and 0x30 are the whole of what an Original Publisher puts in an Immutable Extensions block, and both of the Track Extensions draft-16 gives a value range to. They are the ones worth naming: the two with ranges are exactly the two message.rs closes the session over, so an unnamed type number here is the one a trace most needs named.

0x3C and 0x3E are deliberately absent. Table 9 scopes both to Object, and the only caller of this table renders a track_extensions field.