STACK_PARAMS_CAPACITY

Constant STACK_PARAMS_CAPACITY 

Source
pub const STACK_PARAMS_CAPACITY: usize = 4; // 4usize
Expand description

Maximum number of path parameters to store on the stack. Most routes have 1-4 parameters, so this covers the majority of cases without heap allocation.