Struct cgroups_rs::blkio::IoService

source ·
pub struct IoService {
    pub major: i16,
    pub minor: i16,
    pub read: u64,
    pub write: u64,
    pub sync: u64,
    pub async: u64,
    pub total: u64,
}
Expand description

Per-device activity from the control group.

Fields§

§major: i16

The major number of the device.

§minor: i16

The minor number of the device.

§read: u64

How many items were read from the device.

§write: u64

How many items were written to the device.

§sync: u64

How many items were synchronously transferred.

§async: u64

How many items were asynchronously transferred.

§total: u64

Total number of items transferred.

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 ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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.