Skip to main content

ProcessExt

Trait ProcessExt 

Source
pub trait ProcessExt {
    // Required method
    fn signal(&self, signal: Signal) -> BoxFuture<'_, ProcessResult<()>>;
}
Expand description

Unix-specific extension to Process.

Required Methods§

Source

fn signal(&self, signal: Signal) -> BoxFuture<'_, ProcessResult<()>>

Send the signal to process.

Since -> impl Trait is not allowed yet in the trait methods, this method returns boxed Future. This behavior will change later.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ProcessExt for Process

Available on Unix only.