Skip to main content

enter

Function enter 

Source
pub fn enter(depth: u32, max: u32, pos: Option<Pos>) -> Result<u32, Error>
Expand description

The depth of a value inside one at depth, which is an error if it is more than max. Each value is a level, a scalar included, as the parser counts them, so a value that is read is never deeper than one that the parser reads, and one that is written can be read back.