Skip to content

announcement

Enums


firma_tui::control::announcement::ControlAnnouncement

Section titled “firma_tui::control::announcement::ControlAnnouncement”

Enum

Runtime-level messages emitted by command handling and consumed by the runner.

These are separated from key commands so shutdown, reloads, and fatal errors can be handled at the event-loop boundary instead of inside view state.

Variants:

  • ShutdownRequested - Stop accepting new work and leave the event loop.
  • FatalError(crate::control::error::ControlError) - Record an unrecoverable error and shut the UI down.
  • QueueDumpRequested - Request queue diagnostics.
  • PolicyReloadRequested - Reload policy rows from disk after an external edit.

Traits: Eq

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &ControlAnnouncement) -> bool
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> ControlAnnouncement