Skip to main content

DriverProcess

Trait DriverProcess 

Source
pub trait DriverProcess: Send + Sync {
    // Required methods
    fn kill(&self, signal: i32);
    fn wait(&self, timeout: Duration) -> Option<i32>;
    fn set_on_exit(&self, callback: ProcessExitCallback);
}

Required Methods§

Source

fn kill(&self, signal: i32)

Source

fn wait(&self, timeout: Duration) -> Option<i32>

Source

fn set_on_exit(&self, callback: ProcessExitCallback)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§