Struct probes::disk_stats::DiskStat
source · pub struct DiskStat {
pub reads_completed_successfully: u64,
pub reads_merged: u64,
pub sectors_read: u64,
pub time_spent_reading_ms: u64,
pub writes_completed: u64,
pub writes_merged: u64,
pub sectors_written: u64,
pub time_spent_writing_ms: u64,
pub ios_currently_in_progress: u64,
pub time_spent_doing_ios_ms: u64,
pub weighted_time_spent_doing_ios_ms: u64,
}
Fields§
§reads_completed_successfully: u64
§reads_merged: u64
§sectors_read: u64
§time_spent_reading_ms: u64
§writes_completed: u64
§writes_merged: u64
§sectors_written: u64
§time_spent_writing_ms: u64
§ios_currently_in_progress: u64
§time_spent_doing_ios_ms: u64
§weighted_time_spent_doing_ios_ms: u64
Implementations§
source§impl DiskStat
impl DiskStat
pub fn bytes_read(&self) -> u64
pub fn bytes_written(&self) -> u64
Trait Implementations§
source§impl PartialEq for DiskStat
impl PartialEq for DiskStat
impl StructuralPartialEq for DiskStat
Auto Trait Implementations§
impl Freeze for DiskStat
impl RefUnwindSafe for DiskStat
impl Send for DiskStat
impl Sync for DiskStat
impl Unpin for DiskStat
impl UnwindSafe for DiskStat
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