pub struct ProcessControlStatus {
pub pid: Option<u32>,
pub closed: bool,
pub can_restart: bool,
pub interrupt: ProcessInterruptStatus,
}Expand description
A snapshot of one process run, independent of model queue capacity.
Fields§
§pid: Option<u32>Immediate child PID while control is open. Never use it to send signals.
closed: boolThe supervisor accepts no further requests for this run.
can_restart: boolNo child was spawned, or its owner confirmed that it was reaped.
This does not prove output drain completion. Wait for this run’s terminal
ProcessEvent as well before replacing its subscription. A retained
background reaper can set this after an unconfirmed-cleanup error.
interrupt: ProcessInterruptStatusOutcome of the most recent interrupt request.
Trait Implementations§
Source§impl Clone for ProcessControlStatus
impl Clone for ProcessControlStatus
Source§impl Debug for ProcessControlStatus
impl Debug for ProcessControlStatus
impl Eq for ProcessControlStatus
Source§impl PartialEq for ProcessControlStatus
impl PartialEq for ProcessControlStatus
impl StructuralPartialEq for ProcessControlStatus
Auto Trait Implementations§
impl Forget for ProcessControlStatus
impl Freeze for ProcessControlStatus
impl Move for ProcessControlStatus
impl RefUnwindSafe for ProcessControlStatus
impl Send for ProcessControlStatus
impl Sync for ProcessControlStatus
impl Unpin for ProcessControlStatus
impl UnsafeUnpin for ProcessControlStatus
impl UnwindSafe for ProcessControlStatus
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