pub enum EventType {
SessionStart,
SessionEnd,
PhaseStart,
PhaseEnd,
EachStart,
EachEnd,
ScopeStart,
ScopeEnd,
Update,
}Variants§
SessionStart
on_session_start — the run is opening.
SessionEnd
on_session_end — the run is closing. Final render
for any session-scoped readout.
PhaseStart
on_phase_start — a phase is opening. Equivalent to
today’s deleted phase-starting log row when the
phase_starting readout is bound.
PhaseEnd
on_phase_end — a phase is closing. The ✓ DONE line
(phase_outcome readout) is bound here today.
EachStart
on_each_start — a for_each / for_combinations
iteration is opening. The current scope-ancestor
header (· for_each profile=…) becomes the
scope_header readout bound here in Push 3.
EachEnd
on_each_end — an iteration is closing.
ScopeStart
on_scope_start — a non-iteration scope group is
opening.
ScopeEnd
on_scope_end — a non-iteration scope group is
closing.
Update
on_update — periodic refresh tick. Today’s inline
progress thread fires this at 0.5 s; the TUI fires
it per-frame. Drives the live status content.
Implementations§
Source§impl EventType
impl EventType
Sourcepub fn slot_name(self) -> &'static str
pub fn slot_name(self) -> &'static str
Lower-snake-case name matching the readouts: slot
keyword (on_update, on_phase_end, …). Used by
the trace diagnostic readout and by Push 3’s
workload-block parser.
Sourcepub fn subject_kind(self) -> SubjectKind
pub fn subject_kind(self) -> SubjectKind
What kind of subject the context that fires this
event represents. Used by the binder to validate at
bind-time that bound readouts accept the slot’s
subject kind. Update rides on the surrounding
phase, so it reports Phase.
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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