pub struct TerminalRecord {
pub exit_code: Option<i32>,
pub exit_signal: Option<i32>,
pub at_ms: u64,
pub disposition: TerminalDisposition,
pub exit_kind: TerminalExitKind,
pub disposition_detail: Option<String>,
}Expand description
One observed child exit and the disposition chosen by its supervisor.
Fields§
§exit_code: Option<i32>§exit_signal: Option<i32>§at_ms: u64§disposition: TerminalDisposition§exit_kind: TerminalExitKind§disposition_detail: Option<String>Why the supervisor chose this disposition, when the disposition alone
does not say. failed records the exhausted crash budget here, naming
the limit AND the window it was counted over, because a module stopped
by three crashes in ten minutes and one stopped by three crashes in a
week are the same failed and call for different reactions.
Trait Implementations§
Source§impl Clone for TerminalRecord
impl Clone for TerminalRecord
Source§impl Debug for TerminalRecord
impl Debug for TerminalRecord
Source§impl<'de> Deserialize<'de> for TerminalRecord
impl<'de> Deserialize<'de> for TerminalRecord
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 TerminalRecord
Source§impl PartialEq for TerminalRecord
impl PartialEq for TerminalRecord
Source§impl Serialize for TerminalRecord
impl Serialize for TerminalRecord
impl StructuralPartialEq for TerminalRecord
Auto Trait Implementations§
impl Freeze for TerminalRecord
impl RefUnwindSafe for TerminalRecord
impl Send for TerminalRecord
impl Sync for TerminalRecord
impl Unpin for TerminalRecord
impl UnsafeUnpin for TerminalRecord
impl UnwindSafe for TerminalRecord
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