pub struct Run {
pub at: u64,
pub gate: String,
pub outcome: RunOutcome,
pub ms: u64,
}Expand description
One run of one gate: when, which, how it ended, how long it took.
Wall clock, in milliseconds, measured around the check’s own run — not
CPU time and not the hook’s total, because the number this exists to catch
is “the suite that used to take eleven minutes returned in 0.4 seconds”,
and that is a wall-clock claim.
Fields§
§at: u64Seconds since the epoch, as the machine that ran it saw them.
gate: String§outcome: RunOutcome§ms: u64Trait Implementations§
impl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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