pub struct Bfcl { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Benchmark for Bfcl
impl Benchmark for Bfcl
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().Auto Trait Implementations§
impl Freeze for Bfcl
impl RefUnwindSafe for Bfcl
impl Send for Bfcl
impl Sync for Bfcl
impl Unpin for Bfcl
impl UnwindSafe for Bfcl
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.