pub struct DiskStat { /* private fields */ }Expand description
Implementations§
Source§impl DiskStat
impl DiskStat
pub fn major_number(&self) -> &usize
pub fn minor_number(&self) -> &usize
pub fn device_name(&self) -> &String
pub fn reads_completed_successfully(&self) -> &usize
pub fn reads_merged(&self) -> &usize
pub fn sectors_read(&self) -> &usize
pub fn time_spent_reading(&self) -> &usize
pub fn writes_completed(&self) -> &usize
pub fn writes_merged(&self) -> &usize
pub fn sectors_written(&self) -> &usize
pub fn time_spent_writing(&self) -> &usize
pub fn ios_currently_in_progress(&self) -> &usize
pub fn time_spent_doing_ios(&self) -> &usize
pub fn weighted_time_spent_doing_ios(&self) -> &usize
pub fn discards_completed_successfully(&self) -> &usize
pub fn discards_merged(&self) -> &usize
pub fn sectors_discarded(&self) -> &usize
pub fn time_spent_discarding(&self) -> &usize
Trait Implementations§
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