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

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

Windows-specific extension to Process.

Required methods

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

This is supported on Windows only.

Get process priority.

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

This is supported on Windows only.

Set process priority.

Loading content...

Implementors

Loading content...