pub enum Mode {
WaitForProcesses,
Ignore,
}
Expand description
Variants§
WaitForProcesses
Wait for long-running processes after signaling them to shut down by closing their input and output.
Ignore
Do not do anything with long-running processes, which typically allows them to keep running or shut down on their own time. This is the fastest mode as no synchronization happens at all.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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