Skip to main content

CATEGORIES

Constant CATEGORIES 

Source
pub const CATEGORIES: [StatusCategory; 7];
Expand description

Every status category, in the order the vocabulary declares them.

This list mirrors StatusCategory, so it carries its own drift gate rather than a reviewer’s attention: category_position is a wildcard-free match, so a variant added to the shared vocabulary fails to compile until it is named there, and this crate’s suite reconciles this list against that enum’s own derived schema, which is generated from the variants rather than written beside them. The schema is what catches a list left one short — a list checking only the positions it already holds would pass while every mapping indexed by the new position panicked.