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 Samples
impl Move for Samples
impl RefUnwindSafe for Samples
impl Send for Samples
impl Sync for Samples
impl Unpin for Samples
impl UnsafeUnpin for Samples
impl UnwindSafe for Samples
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