pub enum Health {
Healthy,
Busy,
Stuck,
Dead,
DeadlineExceeded,
}Expand description
A child’s liveness verdict on a given tick.
Variants§
Healthy
Substantive events are flowing — making progress.
Busy
No recent events, but pongs still arrive — a long legitimate tool/model call. Leave it alone.
Stuck
No events and no pongs past their timeouts — wedged. Tear down.
Dead
The control channel hit EOF — the child likely exited. Confirm via
waitpid (reap.rs), then remove.
DeadlineExceeded
The hard wall-clock deadline passed. Tear down; a one-shot run reports exit code 124.
Implementations§
Trait Implementations§
impl Copy for Health
impl Eq for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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