Trait DynBenchmark
Source pub trait DynBenchmark: Send {
// Required methods
fn descriptor(&self) -> &'static BenchmarkDescriptor;
fn metadata(&self) -> &'static PluginMetadata;
fn parameters(&self) -> Vec<ParamSpec>;
fn configure(&mut self, values: &ParamValues) -> Result<()>;
fn load<'a>(&'a mut self, handle: PluginHandle) -> BoxFuture<'a, Result<()>>;
fn next<'a>(&'a mut self) -> BoxFuture<'a, Result<BenchmarkResult>>;
fn cleanup<'a>(&'a mut self) -> BoxFuture<'a, Result<()>>;
}
Expand description
2026-09-26: Object-safe form of Benchmark + Plugin; each method
forwards to the trait method of the same name.