pub struct DiskStat {
Show 14 fields pub major: u64, pub minor: u64, pub name: String, pub reads_completed: u64, pub reads_merged: u64, pub sectors_read: u64, pub time_reading: Duration, pub writes_completed: u64, pub writes_merged: u64, pub sectors_written: u64, pub time_writing: Duration, pub io_in_progress: u64, pub time_io: Duration, pub time_io_weighted: Duration,
}

Fields§

§major: u64§minor: u64§name: String§reads_completed: u64§reads_merged: u64§sectors_read: u64§time_reading: Duration§writes_completed: u64§writes_merged: u64§sectors_written: u64§time_writing: Duration§io_in_progress: u64§time_io: Duration§time_io_weighted: Duration

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.