Skip to main content

section_index_for_key

Function section_index_for_key 

Source
pub fn section_index_for_key(key: &str) -> Option<usize>
Expand description

Canonical-order index for a wire key, or None if the key isn’t a known Section. Used by gateway / dashboard sort comparators that take string keys from the HTTP layer.