Trait sysinfo::NetworkExt
source · pub trait NetworkExt {
fn get_income(&self) -> u64;
fn get_outcome(&self) -> u64;
}
Expand description
Getting volume of incoming and outcoming data.
Required Methods§
sourcefn get_income(&self) -> u64
fn get_income(&self) -> u64
Returns the number of incoming bytes.
sourcefn get_outcome(&self) -> u64
fn get_outcome(&self) -> u64
Returns the number of outcoming bytes.