pub struct TestChaosStats {
pub decision_points: u64,
pub delays_injected: u64,
pub cancellations_injected: u64,
pub steps_executed: u64,
}Expand description
Statistics about chaos injection during a test.
This is returned by LabTestClient::chaos_stats() after test execution.
Fields§
§decision_points: u64Number of decision points encountered.
delays_injected: u64Number of delays injected.
cancellations_injected: u64Number of cancellations injected.
steps_executed: u64Total steps executed.
Implementations§
Trait Implementations§
Source§impl Clone for TestChaosStats
impl Clone for TestChaosStats
Source§fn clone(&self) -> TestChaosStats
fn clone(&self) -> TestChaosStats
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 moreSource§impl Debug for TestChaosStats
impl Debug for TestChaosStats
Source§impl Default for TestChaosStats
impl Default for TestChaosStats
Source§fn default() -> TestChaosStats
fn default() -> TestChaosStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestChaosStats
impl RefUnwindSafe for TestChaosStats
impl Send for TestChaosStats
impl Sync for TestChaosStats
impl Unpin for TestChaosStats
impl UnwindSafe for TestChaosStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).