[][src]Trait heim_process::os::unix::ProcessExt

pub trait ProcessExt {
#[must_use]    pub fn signal<'life0, 'async_trait>(
        &'life0 self,
        signal: Signal
    ) -> Pin<Box<dyn Future<Output = ProcessResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn niceness<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ProcessResult<c_int>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn set_niceness<'life0, 'async_trait>(
        &'life0 self,
        value: c_int
    ) -> Pin<Box<dyn Future<Output = ProcessResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
This is supported on Unix only.

Unix-specific extension to Process.

Required methods

#[must_use]pub fn signal<'life0, 'async_trait>(
    &'life0 self,
    signal: Signal
) -> Pin<Box<dyn Future<Output = ProcessResult<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Send the signal to process.

#[must_use]pub fn niceness<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = ProcessResult<c_int>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Get process niceness.

#[must_use]pub fn set_niceness<'life0, 'async_trait>(
    &'life0 self,
    value: c_int
) -> Pin<Box<dyn Future<Output = ProcessResult<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Set process niceness.

Loading content...

Implementors

impl ProcessExt for Process[src]

Loading content...