Struct sysinfo::NetworkData [−][src]
pub struct NetworkData { /* fields omitted */ }
Contains network information.
Trait Implementations
impl Debug for NetworkData
[src]
impl Debug for NetworkData
[src]impl NetworkExt for NetworkData
[src]
impl NetworkExt for NetworkData
[src]fn get_received(&self) -> u64
[src]
fn get_received(&self) -> u64
[src]Returns the number of received bytes since the last refresh. Read more
fn get_total_received(&self) -> u64
[src]
fn get_total_received(&self) -> u64
[src]Returns the total number of received bytes. Read more
fn get_transmitted(&self) -> u64
[src]
fn get_transmitted(&self) -> u64
[src]Returns the number of transmitted bytes since the last refresh. Read more
fn get_total_transmitted(&self) -> u64
[src]
fn get_total_transmitted(&self) -> u64
[src]Returns the total number of transmitted bytes. Read more
fn get_packets_received(&self) -> u64
[src]
fn get_packets_received(&self) -> u64
[src]Returns the number of incoming packets since the last refresh. Read more
fn get_total_packets_received(&self) -> u64
[src]
fn get_total_packets_received(&self) -> u64
[src]Returns the total number of incoming packets. Read more
fn get_packets_transmitted(&self) -> u64
[src]
fn get_packets_transmitted(&self) -> u64
[src]Returns the number of outcoming packets since the last refresh. Read more
fn get_total_packets_transmitted(&self) -> u64
[src]
fn get_total_packets_transmitted(&self) -> u64
[src]Returns the total number of outcoming packets. Read more
fn get_errors_on_received(&self) -> u64
[src]
fn get_errors_on_received(&self) -> u64
[src]Returns the number of incoming errors since the last refresh. Read more
fn get_total_errors_on_received(&self) -> u64
[src]
fn get_total_errors_on_received(&self) -> u64
[src]Returns the total number of incoming errors. Read more
fn get_errors_on_transmitted(&self) -> u64
[src]
fn get_errors_on_transmitted(&self) -> u64
[src]Returns the number of outcoming errors since the last refresh. Read more
fn get_total_errors_on_transmitted(&self) -> u64
[src]
fn get_total_errors_on_transmitted(&self) -> u64
[src]Returns the total number of outcoming errors. Read more
Auto Trait Implementations
impl RefUnwindSafe for NetworkData
impl Send for NetworkData
impl Sync for NetworkData
impl Unpin for NetworkData
impl UnwindSafe for NetworkData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T