Skip to main content

ParallelTree

Trait ParallelTree 

Source
pub trait ParallelTree: Tree + Sync { }
Expand description

An explicitly selected Tree capability for native parallel parsing.

During a parallel load, observations must be stable and independent of call order, including file identities, listings and operation failures. Returned values, transitive opaque error sources and panic payloads exposed to read-ahead must have normal nonpanicking destruction, without depending on speculative disposal or panic-hook effects. These are behavioral eligibility conditions, not an unsafe marker or an immutable-filesystem claim. Stateful observation contracts retain the serial API. The coordinator performs all Tree access; no worker receives this object.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§