pub(crate) struct ChildGuard {
pub(crate) inner: ChildGuard,
pub(crate) reap_on_drop: bool,
pub(crate) kill_on_drop: bool,
pub(crate) reaper: &'static Reaper,
}Expand description
A guard that can kill child processes, or push them into the zombie list.
Fields§
§inner: ChildGuard§reap_on_drop: bool§kill_on_drop: bool§reaper: &'static ReaperImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChildGuard
impl !RefUnwindSafe for ChildGuard
impl Send for ChildGuard
impl Sync for ChildGuard
impl Unpin for ChildGuard
impl !UnwindSafe for ChildGuard
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