pub struct SupervisorEvent {
pub service_id: String,
pub kind: SupervisorEventKind,
pub timestamp_ms: u64,
pub attempt: u64,
pub reason: String,
pub previous_state: String,
pub new_state: String,
pub trace_id: String,
}Expand description
One bounded, non-sensitive supervisor event.
Fields§
§service_id: StringService identifier, or supervisor for process-level events.
kind: SupervisorEventKindStable event kind.
timestamp_ms: u64Event time in Unix milliseconds.
attempt: u64Restart attempt or reconcile sequence associated with the event.
reason: StringControlled reason code without service payloads or secrets.
previous_state: StringStable previous state label.
new_state: StringStable new state label.
trace_id: StringProcess-local trace identifier.
Trait Implementations§
Source§impl Clone for SupervisorEvent
impl Clone for SupervisorEvent
Source§fn clone(&self) -> SupervisorEvent
fn clone(&self) -> SupervisorEvent
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 SupervisorEvent
impl Debug for SupervisorEvent
impl Eq for SupervisorEvent
Source§impl PartialEq for SupervisorEvent
impl PartialEq for SupervisorEvent
impl StructuralPartialEq for SupervisorEvent
Auto Trait Implementations§
impl Freeze for SupervisorEvent
impl RefUnwindSafe for SupervisorEvent
impl Send for SupervisorEvent
impl Sync for SupervisorEvent
impl Unpin for SupervisorEvent
impl UnsafeUnpin for SupervisorEvent
impl UnwindSafe for SupervisorEvent
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