[−][src]Trait heim_process::os::linux::ProcessExt
This is supported on Linux only.
Linux-specific extension to Process
Required methods
#[must_use]pub fn net_io_counters<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ProcessResult<BoxStream<'_, ProcessResult<IoCounters>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = ProcessResult<BoxStream<'_, ProcessResult<IoCounters>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns stream which yield this process IO counters for each network interface.
Since -> impl Trait
is not allowed yet in the trait methods,
this method returns boxed Stream
. This behavior will change later.
Implementors
impl ProcessExt for Process
[src]
pub fn net_io_counters<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ProcessResult<BoxStream<'_, ProcessResult<IoCounters>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = ProcessResult<BoxStream<'_, ProcessResult<IoCounters>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,