pub struct RunDir {
pub verdicts: Value,
pub plan: Option<BenchPlan>,
pub results: Option<Results>,
}Expand description
The documents a run directory holds, loaded into memory.
verdicts.json is required — a run that never gated is not a run this
tool reports on. The other two are optional because prune alone
produces a directory worth reporting, with no timings in it.
Fields§
§verdicts: Valueverdicts.json, kept as raw JSON: it is the gate’s output and this
crate reads rather than owns its shape.
plan: Option<BenchPlan>plan.json, when the run got as far as planning a benchmark.
results: Option<Results>results.json, when the run got as far as measuring.
Implementations§
Auto Trait Implementations§
impl Freeze for RunDir
impl RefUnwindSafe for RunDir
impl Send for RunDir
impl Sync for RunDir
impl Unpin for RunDir
impl UnsafeUnpin for RunDir
impl UnwindSafe for RunDir
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