pub struct Samples {
pub times: Vec<f64>,
pub checks: Vec<bool>,
pub exit_codes: Vec<i32>,
pub first_failure: Option<String>,
}Expand description
What one subject’s run produced.
Fields§
§times: Vec<f64>Timed samples in milliseconds, in the order taken.
checks: Vec<bool>Whether the subject’s check passed after each timed sample, aligned
with times. Empty when the subject has no check.
exit_codes: Vec<i32>What each timed sample exited with, aligned with times: always one
of the subject’s ok_exit_codes.
first_failure: Option<String>Why the first failing check failed, for the warning that reports it.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Samples
Auto Trait Implementations§
impl Forget for Samples
impl Freeze for Sampleswhere
*const u8 is !null: Freeze,
PhantomData<f64>: Freeze,
PhantomData<bool>: Freeze,
PhantomData<i32>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Samples
impl RefUnwindSafe for Samples
impl Send for Sampleswhere
RawVecInner: Send,
impl Sync for Sampleswhere
RawVecInner: Sync,
impl Unpin for Samples
impl UnsafeUnpin for Sampleswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
PhantomData<i32>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Sampleswhere
RawVecInner: UnwindSafe,
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