pub enum ChildKillMode {
SIGTERM,
SIGKILL,
}Variants§
SIGTERM
Sends the SIGTERM signal, and then waits for the process to terminate. Note that this may block indefinitely if the process does not respect SIGTERM.
SIGKILL
Sends the SIGKILL signal, which forcefully kills the process. This is the default mode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChildKillMode
impl RefUnwindSafe for ChildKillMode
impl Send for ChildKillMode
impl Sync for ChildKillMode
impl Unpin for ChildKillMode
impl UnwindSafe for ChildKillMode
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