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: i16The major number of the device.
minor: i16The minor number of the device.
rbytes: u64How many bytes were read from the device.
wbytes: u64How many bytes were written to the device.
rios: u64How many iops were read from the device.
wios: u64How many iops were written to the device.
dbytes: u64How many discard bytes were read from the device.
dios: u64How many discard iops were written to the device.
Trait Implementations§
impl Eq for IoStat
impl StructuralPartialEq for IoStat
Auto Trait Implementations§
impl Freeze for IoStat
impl RefUnwindSafe for IoStat
impl Send for IoStat
impl Sync for IoStat
impl Unpin for IoStat
impl UnwindSafe for IoStat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more