pub struct Sample {
pub ms: f64,
pub exit_code: i32,
}Expand description
One successful run of a subject’s timed command.
Fields§
§ms: f64Elapsed wall time in milliseconds.
exit_code: i32What the command exited with: one of its ok_exit_codes, kept so the
export shows what actually happened rather than assuming 0.
Trait Implementations§
impl Copy for Sample
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Forget for Sample
impl Freeze for Sample
impl Move for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
impl UnwindSafe for Sample
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