Skip to main content

all_capabilities

Function all_capabilities 

Source
pub fn all_capabilities() -> &'static [Capability]
Expand description

Every capability this crate can dispatch, built once and cached for the process lifetime.

§Panics

Panics if either bundled data/*.json inventory fails to parse. Both files ship with the crate and are covered by this crate’s own tests, so a panic here means the crate itself was built or edited incorrectly — never a condition a caller can hit at runtime with valid input.