pub enum RowGutter {
Blank,
Header(String),
Metric {
key: String,
name: String,
value: f64,
},
Bar(f64),
Latency {
key: String,
p50: u64,
p99: u64,
count: u64,
},
Text(String),
Labeled {
name: String,
value: String,
},
BarText {
frac: f64,
text: String,
},
Spark {
key: String,
value: f64,
},
LatencyHist {
key: String,
p50: u64,
count: u64,
},
Sysmon {
items: Vec<(char, f64)>,
},
}Expand description
Per-line CONTEXTUAL GUTTER content for the footer’s left margin (SRD-92). Each block renders header-first: the header row carries the node’s own timing triad, and every detail row under it owns one gutter cell (possibly blank) — cells stack vertically under the header, single-placement intact.
Variants§
Blank
Plain blank-aligned divider.
Header(String)
Node HEADER row (SRD-92 R1): the pre-rendered, uncolored
margin body (session · [n/N] · node-time triad) for this
node — the sink wraps it in the color + divider dressing.
Metric
Key-metric detail row (SRD-92 R4): the metric macro’s live
view — a bright TREND sparkline of the phase’s primary key
metric, labeled by metric name. The current numeric lives
only in the row body’s chips (single placement); the cell
carries what the body can’t — the history. key persists
the sink-side sample ring across ticks like Spark.
Bar(f64)
Metered phase: completion-bar fill fraction.
Latency
Open-ended phase (daemon poller): latency trend. key
identifies the phase so the sink’s sample ring persists
across ticks; p50/p99 are the current service-time
percentiles in nanos.
Text(String)
Workload-declared layout text (gutter: "<template>"),
placed in the cell verbatim (truncated to fit).
Labeled
Key metric: label at the cell’s left edge, value against the divider.
BarText
Workload-declared layout text COMPOSED with the phase’s own completion fraction (SRD-92 R3): the cell shows the auto bar and the workload text side by side, so a custom cell (e.g. a measured units/s readout) doesn’t cost the operator the progress indicator. Built by the fold whenever a Text spec lands on a phase that has a completion fraction.
Spark
Workload-declared trend sample (gutter: {spark: ...}):
sparkline ring + current value. key persists the ring
across ticks, like Latency.
LatencyHist
Open-ended phase, LIFETIME-histogram form: the sink’s
decimating trend buffer keeps the phase’s whole latency
history renderable at cell resolution (one sample per cell
until the width fills, then re-averaged at half resolution,
etc.), labeled with the discrete lifetime min∕max. Distinct
renderable from the rolling Latency form.
count is the timer’s LIFETIME sample count — the sink
re-renders (and pushes a trend sample) only when it advanced
since the last draw, so a slow poller (1 op/s) keeps a stable
cell between ops instead of restating the same value every
redraw tick.
Sysmon
Session-level host-utilization strip (sysmon): one (glyph, frac)
per item, rendered as a single-cell symbol + a two-cell braille
meter, colored by utilization. Items arrive in display order.
SRD-92 R6: rendered ONCE per frame as the SESSION BAND leading
the fold — never embedded into phase blocks.
Trait Implementations§
impl StructuralPartialEq for RowGutter
Auto Trait Implementations§
impl Forget for RowGutter
impl Freeze for RowGutter
impl Move for RowGutter
impl RefUnwindSafe for RowGutter
impl Send for RowGutterwhere
RawVecInner: Send,
impl Sync for RowGutterwhere
RawVecInner: Sync,
impl Unpin for RowGutter
impl UnsafeUnpin for RowGutterwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(char, f64)>: UnsafeUnpin,
impl UnwindSafe for RowGutterwhere
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