pub struct Incident {
pub id: String,
pub at_ms: u64,
pub kind: String,
pub what: String,
pub cause: Option<String>,
pub did: Vec<String>,
pub lost: Vec<String>,
pub evidence: Option<String>,
pub acknowledged_at_ms: Option<u64>,
}Expand description
One incident, as the user is told about it.
Fields§
§id: String§at_ms: u64§kind: StringA closed set (spec §4.4): renderer_crashed, renderer_oom,
renderer_hung, quit_no_window, host_restarted,
host_restarted_safe_mode, srv_restarted, memory_give_up,
host_give_up.
what: StringWhat happened, in plain words.
cause: Option<String>Why, when it is known; never guessed.
did: Vec<String>What AgentMux did that keeps the user’s work: only what this path did.
lost: Vec<String>What may not have survived, when this path knows.
evidence: Option<String>Which log has the details, and when, for a bug report.
acknowledged_at_ms: Option<u64>Set by read from the acknowledgement lines.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Incident
impl<'de> Deserialize<'de> for Incident
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 StructuralPartialEq for Incident
Auto Trait Implementations§
impl Freeze for Incident
impl RefUnwindSafe for Incident
impl Send for Incident
impl Sync for Incident
impl Unpin for Incident
impl UnsafeUnpin for Incident
impl UnwindSafe for Incident
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