pub struct PhaseEntry {Show 13 fields
pub node_id: SceneNodeId,
pub name: String,
pub labels: String,
pub status: PhaseStatus,
pub kind: EntryKind,
pub op_count: usize,
pub duration_secs: Option<f64>,
pub session_elapsed: Option<f64>,
pub session_started: Option<f64>,
pub depth: usize,
pub summary: Option<PhaseSummary>,
pub op_names: Vec<String>,
pub seq: Option<usize>,
}Expand description
A single entry rendered in the TUI’s phase list — a flat
projection over the scene tree’s DFS order. Carries the scene-
node id so callers can cross-reference parent / children, plus
the heavy PhaseSummary (only meaningful for completed
phases). Held as a Cow-equivalent: produced by walking the
tree at iter time, not stored.
Fields§
§node_id: SceneNodeId§name: String§labels: String§status: PhaseStatus§kind: EntryKind§op_count: usize§duration_secs: Option<f64>§session_elapsed: Option<f64>Session cumulative time (seconds) captured at this leaf’s
terminal boundary — the session clock reading when the phase
completed/failed. Persisted so a finished row keeps showing the
session time at which it finished. None while still running or
pending (the renderer substitutes the live session clock).
session_started: Option<f64>Session-clock reading when the phase entered Running; the time
basis for the leaf timer (session_elapsed - session_started =
displayed duration, exactly).
depth: usize§summary: Option<PhaseSummary>§op_names: Vec<String>Stanza op-template names. Populated for Phase entries
from the scene tree at install time. Used by the TUI’s
drilled stanza view (Right arrow on an expanded phase).
seq: Option<usize>1-based pre-map sequence number. Populated only on
Phase entries; None for Scope rows. Source of truth
for the [N/total] prefix shown next to phase names and
the phase X/Y counter in the TUI header (see
nmbrs_runtime::scene_tree::SceneNode::seq).
Trait Implementations§
Source§impl Clone for PhaseEntry
impl Clone for PhaseEntry
Auto Trait Implementations§
impl Forget for PhaseEntry
impl Freeze for PhaseEntrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, u64, f64)>: Freeze,
PhantomData<(String, u64)>: Freeze,
PhantomData<(String, f64, f64, u64, usize)>: Freeze,
PhantomData<f64>: Freeze,
PhantomData<String>: Freeze,
impl Move for PhaseEntry
impl RefUnwindSafe for PhaseEntry
impl Send for PhaseEntrywhere
RawVecInner: Send,
impl Sync for PhaseEntrywhere
RawVecInner: Sync,
impl Unpin for PhaseEntry
impl UnsafeUnpin for PhaseEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, u64, f64)>: UnsafeUnpin,
PhantomData<(String, u64)>: UnsafeUnpin,
PhantomData<(String, f64, f64, u64, usize)>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for PhaseEntrywhere
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