Struct perf_monitor::io::IOStats [−][src]
pub struct IOStats { pub read_count: u64, pub write_count: u64, pub read_bytes: u64, pub write_bytes: u64, }
A struct represents io status.
Fields
read_count: u64
(linux & windows) the number of read operations performed (cumulative)
write_count: u64
(linux & windows) the number of write operations performed (cumulative)
read_bytes: u64
the number of bytes read (cumulative).
write_bytes: u64
the number of bytes written (cumulative)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IOStats
impl Send for IOStats
impl Sync for IOStats
impl Unpin for IOStats
impl UnwindSafe for IOStats
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,