pub enum CoreEventKind {
Show 13 variants
RunStarted {
run_id: ReportUuid,
profile_name: String,
cli_args: Vec<String>,
stress_condition: Option<StressConditionSummary>,
},
StressSubRunStarted {
progress: StressProgress,
},
SetupScriptStarted {
stress_index: Option<StressIndexSummary>,
index: usize,
total: usize,
script_id: ScriptId,
program: String,
args: Vec<String>,
no_capture: bool,
},
SetupScriptSlow {
stress_index: Option<StressIndexSummary>,
script_id: ScriptId,
program: String,
args: Vec<String>,
elapsed: Duration,
will_terminate: bool,
},
TestStarted {
stress_index: Option<StressIndexSummary>,
test_instance: OwnedTestInstanceId,
current_stats: RunStats,
running: usize,
command_line: Vec<String>,
},
TestSlow {
stress_index: Option<StressIndexSummary>,
test_instance: OwnedTestInstanceId,
retry_data: RetryData,
elapsed: Duration,
will_terminate: bool,
},
TestRetryStarted {
stress_index: Option<StressIndexSummary>,
test_instance: OwnedTestInstanceId,
retry_data: RetryData,
running: usize,
command_line: Vec<String>,
},
TestSkipped {
stress_index: Option<StressIndexSummary>,
test_instance: OwnedTestInstanceId,
reason: MismatchReason,
},
RunBeginCancel {
setup_scripts_running: usize,
running: usize,
reason: CancelReason,
},
RunPaused {
setup_scripts_running: usize,
running: usize,
},
RunContinued {
setup_scripts_running: usize,
running: usize,
},
StressSubRunFinished {
progress: StressProgress,
sub_elapsed: Duration,
sub_stats: RunStats,
},
RunFinished {
run_id: ReportUuid,
start_time: DateTime<FixedOffset>,
elapsed: Duration,
run_stats: RunFinishedStats,
outstanding_not_seen: Option<TestsNotSeenSummary>,
},
}Expand description
Events that don’t carry test output.
These events pass through unchanged during conversion between output
representations (e.g., from ChildSingleOutput to ZipStoreOutput).
Variants§
RunStarted
A test run started.
Fields
run_id: ReportUuidThe run ID.
stress_condition: Option<StressConditionSummary>The stress condition, if any.
StressSubRunStarted
A stress sub-run started.
Fields
progress: StressProgressThe stress progress.
SetupScriptStarted
A setup script started.
Fields
stress_index: Option<StressIndexSummary>The stress index, if running a stress test.
SetupScriptSlow
A setup script is slow.
Fields
stress_index: Option<StressIndexSummary>The stress index, if running a stress test.
TestStarted
A test started.
Fields
stress_index: Option<StressIndexSummary>The stress index, if running a stress test.
test_instance: OwnedTestInstanceIdThe test instance.
TestSlow
A test is slow.
Fields
stress_index: Option<StressIndexSummary>The stress index, if running a stress test.
test_instance: OwnedTestInstanceIdThe test instance.
TestRetryStarted
A test retry started.
Fields
stress_index: Option<StressIndexSummary>The stress index, if running a stress test.
test_instance: OwnedTestInstanceIdThe test instance.
TestSkipped
A test was skipped.
Fields
stress_index: Option<StressIndexSummary>The stress index, if running a stress test.
test_instance: OwnedTestInstanceIdThe test instance.
reason: MismatchReasonThe reason the test was skipped.
RunBeginCancel
A run began being cancelled.
Fields
reason: CancelReasonThe reason for cancellation.
RunPaused
A run was paused.
Fields
RunContinued
A run was continued after being paused.
Fields
StressSubRunFinished
A stress sub-run finished.
Fields
progress: StressProgressThe stress progress.
RunFinished
A run finished.
Fields
run_id: ReportUuidThe run ID.
start_time: DateTime<FixedOffset>The start time.
run_stats: RunFinishedStatsThe final run statistics.
Trait Implementations§
Source§impl Clone for CoreEventKind
impl Clone for CoreEventKind
Source§fn clone(&self) -> CoreEventKind
fn clone(&self) -> CoreEventKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CoreEventKind
impl Debug for CoreEventKind
Source§impl<'de> Deserialize<'de> for CoreEventKind
impl<'de> Deserialize<'de> for CoreEventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CoreEventKind
impl PartialEq for CoreEventKind
Source§impl Serialize for CoreEventKind
impl Serialize for CoreEventKind
impl StructuralPartialEq for CoreEventKind
Auto Trait Implementations§
impl Freeze for CoreEventKind
impl RefUnwindSafe for CoreEventKind
impl Send for CoreEventKind
impl Sync for CoreEventKind
impl Unpin for CoreEventKind
impl UnwindSafe for CoreEventKind
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
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: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more