runtime
Module: control::state::runtime
Section titled “Module: control::state::runtime”Contents
Section titled “Contents”Enums
ControlRuntimeState- Lifecycle state used by the runner and status line.
firma_tui::control::state::runtime::ControlRuntimeState
Section titled “firma_tui::control::state::runtime::ControlRuntimeState”Enum
Lifecycle state used by the runner and status line.
Variants:
Starting- The app has been constructed but has not yet processed events.Running- The app is accepting input and external events normally.ShuttingDown- Shutdown has been requested and the runner should stop.Error- The app has recorded a recoverable status error.
Methods:
fn label(self: Self) -> &'static str- Short label rendered in the terminal frame.fn is_shutting_down(self: Self) -> bool- Returns true once shutdown has started.
Traits: Copy, Eq
Trait Implementations:
- PartialEq
fn eq(self: &Self, other: &ControlRuntimeState) -> bool
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Clone
fn clone(self: &Self) -> ControlRuntimeState