pub struct OpEntry {
pub name: String,
pub status: PhaseStatus,
pub started_at: Instant,
pub session_started: f64,
pub duration_secs: Option<f64>,
pub measure: Option<String>,
pub session_elapsed: Option<f64>,
pub seq: usize,
}Expand description
An op-level execution leaf (SRD-63), shown as a timed status line
nested under its parent phase when the op declares readout: visible.
Mirrors the phase’s status-margin fields so the same renderer/slots
apply, specialized: the count slot is [seq/total] within the phase,
the leaf time is this op’s execution time, the session time is the
session clock at the op.
Fields§
§name: String§status: PhaseStatus§started_at: InstantStart of the current execution (for the live timer while running).
session_started: f64Session-clock reading at op start — the display time basis (see
ActivePhase::session_started).
duration_secs: Option<f64>Persisted op execution time, set at completion/failure.
Computed as a session-clock delta (session_elapsed - session_started) so it reconciles with the session column.
measure: Option<String>The op’s key measurable, rendered from its measure: template at
completion (“12 sstables”, “1.4 GiB”). Shown in the leaf’s gutter cell
ahead of the duration: a reader usually wants what the step PRODUCED,
and the duration alone cannot say.
session_elapsed: Option<f64>Session clock captured at the op’s terminal boundary.
seq: usizeArrival order within the parent phase (0-based).
Trait Implementations§
Auto Trait Implementations§
impl Forget for OpEntry
impl Freeze for OpEntry
impl Move for OpEntry
impl RefUnwindSafe for OpEntry
impl Send for OpEntrywhere
RawVecInner: Send,
impl Sync for OpEntrywhere
RawVecInner: Sync,
impl Unpin for OpEntry
impl UnsafeUnpin for OpEntry
impl UnwindSafe for OpEntrywhere
RawVecInner: UnwindSafe,
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<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