pub struct IoCounters(/* private fields */);
Expand description
Implementations§
Source§impl IoCounters
impl IoCounters
Sourcepub fn device_name(&self) -> &OsStr
pub fn device_name(&self) -> &OsStr
Returns disk device name.
Sourcepub fn read_count(&self) -> u64
pub fn read_count(&self) -> u64
Returns number of reads.
Sourcepub fn write_count(&self) -> u64
pub fn write_count(&self) -> u64
Returns number of writes.
Sourcepub fn read_bytes(&self) -> Information
pub fn read_bytes(&self) -> Information
Returns number of bytes read.
Sourcepub fn write_bytes(&self) -> Information
pub fn write_bytes(&self) -> Information
Returns number of bytes written.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoCounters
impl !RefUnwindSafe for IoCounters
impl Send for IoCounters
impl Sync for IoCounters
impl Unpin for IoCounters
impl !UnwindSafe for IoCounters
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