Module dynamic

Module dynamic 

Source
Expand description

2026-09-26: DynBenchmark, the object-safe form of Benchmark.

Benchmark and Plugin return impl Future / impl Stream, which makes them not dyn-compatible, so descriptors construct Box<dyn DynBenchmark> instead. The blanket impl below gives every Benchmark + Send this trait with boxed futures. Benchmark::run has no counterpart here: callers drive a DynBenchmark with executor::drive.

Owner: bench. Invariants: none beyond the types.

Traitsยง

DynBenchmark
2026-09-26: Object-safe form of Benchmark + Plugin; each method forwards to the trait method of the same name.