Skip to main content

store_reason

Function store_reason 

Source
pub fn store_reason(kind: StoreKind, op: &str) -> &'static str
Expand description

The storage feature’s (kind, op) -> reason table — the one place that knows why a store consumes a capability. Total over the clock-consuming store ops (requirements::tests::store_reason_table_is_total pins this); a (kind, op) outside the table falls back to a generic phrasing rather than panicking, so a new store op can never crash a render before its fragment is authored.