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