[][src]Trait sysinfo::NetworkExt

pub trait NetworkExt {
    fn get_income(&self) -> u64;
fn get_outcome(&self) -> u64; }

Getting volume of incoming and outgoing data.

Required methods

fn get_income(&self) -> u64

Returns the number of incoming bytes.

fn get_outcome(&self) -> u64

Returns the number of outgoing bytes.

Loading content...

Implementors

impl NetworkExt for NetworkData[src]

Loading content...