pub struct IoStat {
    pub major: i16,
    pub minor: i16,
    pub rbytes: u64,
    pub wbytes: u64,
    pub rios: u64,
    pub wios: u64,
    pub dbytes: u64,
    pub dios: u64,
}
Expand description

Per-device activity from the control group. Only for cgroup v2

Fields

major: i16

The major number of the device.

minor: i16

The minor number of the device.

rbytes: u64

How many bytes were read from the device.

wbytes: u64

How many bytes were written to the device.

rios: u64

How many iops were read from the device.

wios: u64

How many iops were written to the device.

dbytes: u64

How many discard bytes were read from the device.

dios: u64

How many discard iops were written to the device.

Trait Implementations

Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.