Skip to main content

effective_limit

Function effective_limit 

Source
pub fn effective_limit(configured: usize) -> usize
Expand description

Converts a config limit into the effective value for truncation/validation.

0 = unlimited (usize::MAX for comparison).