pub struct SmokeTestResult { /* private fields */ }Expand description
Result of a smoke test run.
Implementations§
Source§impl SmokeTestResult
impl SmokeTestResult
Sourcepub fn completed_successfully(&self) -> bool
pub fn completed_successfully(&self) -> bool
Returns true if the test completed successfully.
Sourcepub fn iterations_run(&self) -> u32
pub fn iterations_run(&self) -> u32
Returns the number of iterations executed.
Sourcepub fn event_count(&self) -> usize
pub fn event_count(&self) -> usize
Returns the number of events parsed.
Sourcepub fn termination_reason(&self) -> &TerminationReason
pub fn termination_reason(&self) -> &TerminationReason
Returns the termination reason.
Sourcepub fn output_bytes(&self) -> usize
pub fn output_bytes(&self) -> usize
Returns the total output bytes processed.
Trait Implementations§
Source§impl Clone for SmokeTestResult
impl Clone for SmokeTestResult
Source§fn clone(&self) -> SmokeTestResult
fn clone(&self) -> SmokeTestResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SmokeTestResult
impl RefUnwindSafe for SmokeTestResult
impl Send for SmokeTestResult
impl Sync for SmokeTestResult
impl Unpin for SmokeTestResult
impl UnwindSafe for SmokeTestResult
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