Struct probes::network::NetworkTrafficMeasurement[][src]

pub struct NetworkTrafficMeasurement {
    pub precise_time_ns: u64,
    pub interfaces: Interfaces,
}

Measurement of network traffic at a certain time.

Fields

Methods

impl NetworkTrafficMeasurement
[src]

Calculate the network traffic per minute based on this measurement and a measurement in the future. It is advisable to make the next measurement roughly a minute from this one for the most reliable result.

Trait Implementations

impl Debug for NetworkTrafficMeasurement
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NetworkTrafficMeasurement
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations