Skip to main content

ENUMERATION_LIMIT

Constant ENUMERATION_LIMIT 

Source
pub const ENUMERATION_LIMIT: usize = semantics::ENUMERATION_LIMIT; // 22usize
Expand description

Maximum number of arguments supported by the subset-enumeration extension algorithms before Error::TooLarge is returned.

This is exposed so that consumers can statically assert against it (e.g. in tests) or feature-check their framework sizes before calling exponential enumerators. The limit is set to 22, matching the crate-level claim of “practical up to ~20 arguments” with a small safety margin.