pub const ALL: &[CapabilityId];
Expand description

Every identifier this vocabulary defines.

A SLICE rather than a fixed-size array on purpose: with [CapabilityId; N] the length is part of the public type, so registering a capability changed N and was technically a breaking change for every consumer. Capabilities are added as the kernel grows, and taxing each addition with a major bump would either throttle them or push the break through silently. A slice makes every future addition additive.