pub struct TerminalEntry {
pub daemon_incarnation: Option<String>,
pub exit_code: Option<i32>,
pub exit_signal: Option<i32>,
pub at_ms: u64,
pub disposition: TerminalDisposition,
pub exit_kind: Option<TerminalExitKind>,
pub disposition_detail: Option<String>,
}Expand description
One terminal child exit and the supervisor action it selected.
Fields§
§daemon_incarnation: Option<String>Opaque identity of the daemon that observed this exit; absent on older daemons. Different tokens mean different lifetimes, not chronological order.
exit_code: Option<i32>§exit_signal: Option<i32>§at_ms: u64§disposition: TerminalDisposition§exit_kind: Option<TerminalExitKind>Supervisor classification of this exit. Absent on daemons that predate the field; unknown future kinds remain readable instead of failing the enclosing terminal record.
disposition_detail: Option<String>Why the supervisor chose this disposition, when the disposition alone
does not say. A failed record carries the exhausted crash budget here
(crash budget exhausted: max_restarts=3 within window_secs=600), which
is the difference between an operator seeing “it failed” and seeing which
limit stopped it. Prose for humans: render it, never parse it. Absent for
ordinary dispositions and on daemons predating the field.
Trait Implementations§
Source§impl Clone for TerminalEntry
impl Clone for TerminalEntry
Source§fn clone(&self) -> TerminalEntry
fn clone(&self) -> TerminalEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more