pub struct TerminalEntry {
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§
§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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminalEntry
impl Debug for TerminalEntry
Source§impl<'de> Deserialize<'de> for TerminalEntry
impl<'de> Deserialize<'de> for TerminalEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TerminalEntry
Source§impl PartialEq for TerminalEntry
impl PartialEq for TerminalEntry
Source§impl Serialize for TerminalEntry
impl Serialize for TerminalEntry
impl StructuralPartialEq for TerminalEntry
Auto Trait Implementations§
impl Freeze for TerminalEntry
impl RefUnwindSafe for TerminalEntry
impl Send for TerminalEntry
impl Sync for TerminalEntry
impl Unpin for TerminalEntry
impl UnsafeUnpin for TerminalEntry
impl UnwindSafe for TerminalEntry
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
Mutably borrows from an owned value. Read more