Skip to main content

MAX_PATH_DEPTH

Constant MAX_PATH_DEPTH 

Source
pub const MAX_PATH_DEPTH: usize = 64;
Expand description

Maximum number of path components accepted by StatePath::parse. Prevents pathological deeply-nested user input from blowing the stack or causing quadratic work in tree walkers.