Struct cgroups_rs::blkio::IoStat[][src]

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,
}

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

impl Debug for IoStat[src]

impl Eq for IoStat[src]

impl PartialEq<IoStat> for IoStat[src]

impl StructuralEq for IoStat[src]

impl StructuralPartialEq for IoStat[src]

Auto Trait Implementations

impl RefUnwindSafe for IoStat

impl Send for IoStat

impl Sync for IoStat

impl Unpin for IoStat

impl UnwindSafe for IoStat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.