pub enum Step {
Start(String),
Stop(String),
Create(Create),
Rename(FileCount),
Delete(FileCount),
Backup(usize),
Restore(usize),
ManifestLive(usize),
ManifestRestored(usize),
CompareManifests(usize, usize),
}Expand description
A step specification in the execution of a benchmark.
Variants§
Start(String)
Start a benchmark.
Stop(String)
Finish a benchmark with a given name.
Create(Create)
Create test data files.
Rename(FileCount)
Rename test data files.
Delete(FileCount)
Delete test data files.
Backup(usize)
Make the nth backup in the benchmark.
Restore(usize)
Restore the nth backup in the benchmark.
ManifestLive(usize)
Create and remember a manifest of current live data. Call it id.
ManifestRestored(usize)
Create and remember a manifest of latest restored data. Call it id.
CompareManifests(usize, usize)
Compare two manifests for equality.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
Blanket Implementations§
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