pub struct ConcurrencySweep { /* private fields */ }Trait Implementations§
Source§impl Benchmark for ConcurrencySweep
impl Benchmark for ConcurrencySweep
fn descriptor(&self) -> &'static BenchmarkDescriptor
Source§fn parameters(&self) -> Vec<ParamSpec>
fn parameters(&self) -> Vec<ParamSpec>
2026-09-26: The parameters shown before the run starts, so the user can
change them. Their defaults are in the returned specs.
Source§fn configure(&mut self, values: &ParamValues) -> Result<()>
fn configure(&mut self, values: &ParamValues) -> Result<()>
2026-09-26: Receive the edited values. Validate here and return an
error naming the offending field; the executor calls
next() only after
this returns Ok.Source§async fn next(&mut self) -> Result<BenchmarkResult>
async fn next(&mut self) -> Result<BenchmarkResult>
2026-09-26: One step of work, returning the frame for that step.
Source§fn run(&mut self) -> impl Stream<Item = Result<BenchmarkResult>> + '_
fn run(&mut self) -> impl Stream<Item = Result<BenchmarkResult>> + '_
2026-09-26: Drive
next() to completion, streaming every frame. The
stream ends after the first terminal crate::RunStatus, or after an
error. It does not call cleanup().Source§impl Default for ConcurrencySweep
impl Default for ConcurrencySweep
Source§fn default() -> ConcurrencySweep
fn default() -> ConcurrencySweep
Returns the “default value” for a type. Read more
Source§impl Plugin for ConcurrencySweep
impl Plugin for ConcurrencySweep
Source§fn metadata(&self) -> &'static PluginMetadata
fn metadata(&self) -> &'static PluginMetadata
2026-09-26: Who wrote this plugin, where it came from, and where to
report it.
Auto Trait Implementations§
impl Freeze for ConcurrencySweep
impl !RefUnwindSafe for ConcurrencySweep
impl Send for ConcurrencySweep
impl Sync for ConcurrencySweep
impl Unpin for ConcurrencySweep
impl !UnwindSafe for ConcurrencySweep
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> DynBenchmark for T
impl<T> DynBenchmark for T
fn descriptor(&self) -> &'static BenchmarkDescriptor
fn metadata(&self) -> &'static PluginMetadata
fn parameters(&self) -> Vec<ParamSpec>
fn configure(&mut self, values: &ParamValues) -> Result<(), Error>
fn load<'a>( &'a mut self, handle: PluginHandle, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn next<'a>( &'a mut self, ) -> Pin<Box<dyn Future<Output = Result<BenchmarkResult, Error>> + Send + 'a>>
fn cleanup<'a>( &'a mut self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.