pub struct ProcessTree { /* private fields */ }Expand description
Platform-specific ownership needed to terminate a spawned process tree.
Implementations§
Source§impl ProcessTree
impl ProcessTree
Sourcepub fn for_std_child(child: &Child) -> Result<Self>
pub fn for_std_child(child: &Child) -> Result<Self>
Bind a freshly spawned standard-library child to its preconfigured process tree.
Sourcepub fn has_exited_without_reaping(&self) -> Result<bool>
pub fn has_exited_without_reaping(&self) -> Result<bool>
Check whether the child leader exited while preserving its process-group identity for safe descendant cleanup.
Auto Trait Implementations§
impl Freeze for ProcessTree
impl RefUnwindSafe for ProcessTree
impl Send for ProcessTree
impl Sync for ProcessTree
impl Unpin for ProcessTree
impl UnsafeUnpin for ProcessTree
impl UnwindSafe for ProcessTree
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