pub struct ProcessRecord {
pub pid: u32,
pub kind: ClientKind,
pub state: ProcessState,
pub spawned_at: String,
pub version: String,
}Expand description
One process in the launcher’s canonical view. Updated by the
reducer; read by IPC handlers + the eventual --diag printer.
F.7 cleanup audit: pid and spawned_at are written by
handle_register but never read at runtime. They’re carried for
the future --diag launcher printer (alongside version /
kind) and for Debug derivations in tests and crash dumps. Keep
with allow rather than delete — losing them now means rebuilding
the diag printer from scratch.
Fields§
§pid: u32§kind: ClientKind§state: ProcessState§spawned_at: StringRFC3339 timestamp of the spawn (or first-register, whichever the launcher learned about first).
version: StringFree-form version string of the registered binary. For log correlation across version skew during a Phase B rollout.
Trait Implementations§
Source§impl Clone for ProcessRecord
impl Clone for ProcessRecord
Source§fn clone(&self) -> ProcessRecord
fn clone(&self) -> ProcessRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessRecord
impl RefUnwindSafe for ProcessRecord
impl Send for ProcessRecord
impl Sync for ProcessRecord
impl Unpin for ProcessRecord
impl UnwindSafe for ProcessRecord
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