pub struct ProcessGroupReaper(pub u32);Expand description
SIGKILLs a shell’s whole process group when dropped.
kill_on_drop reaps the shell itself; this reaps what the shell started.
Held for the duration of one shell tool call, so it fires on every exit path -
normal completion (where the group is already gone and the signal is a
harmless no-op), timeout, and the future being dropped because the agent was
cancelled.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Drop for ProcessGroupReaper
impl Drop for ProcessGroupReaper
Auto Trait Implementations§
impl Freeze for ProcessGroupReaper
impl RefUnwindSafe for ProcessGroupReaper
impl Send for ProcessGroupReaper
impl Sync for ProcessGroupReaper
impl Unpin for ProcessGroupReaper
impl UnsafeUnpin for ProcessGroupReaper
impl UnwindSafe for ProcessGroupReaper
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