Skip to main content

known_hooks

Macro known_hooks 

Source
known_hooks!() { /* proc-macro */ }
Expand description

Expands to the canonical list of interceptor hook names, in lifecycle order.

A proc-macro crate cannot export a const, so this is how KNOWN_HOOKS is made available to callers – notably the hook expectation matrix test, which asserts its rows against this list so that adding a hook cannot silently leave it untested.