MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: usize = 4;
Expand description

How deep a scope path may go.

Four is a starting point, not a truth (guide 17.3). It is a hard bound because Scope is Copy and consulted once per connection per turn: a heap-allocated path here would put an allocation on the composition path.