[][src]Struct psutil::disk::DiskIOCounters

pub struct DiskIOCounters {
    pub read_count: u64,
    pub write_count: u64,
    pub read_bytes: u64,
    pub write_bytes: u64,
    pub read_time: u64,
    pub write_time: u64,
    pub read_merged_count: u64,
    pub write_merged_count: u64,
    pub busy_time: u64,
}

Disk counter struct

Fields

read_count: u64

Number of reads

write_count: u64

Number of writes

read_bytes: u64

Number of bytes read

write_bytes: u64

Number of bytes written

read_time: u64

Time spent reading from disk (in milliseconds)

write_time: u64

Time spent writing to disk (in milliseconds)

read_merged_count: u64

Number of merged read

write_merged_count: u64

Number of merged write

busy_time: u64

Time spent doing actual I/Os (in milliseconds)

Trait Implementations

impl Copy for DiskIOCounters[src]

impl Clone for DiskIOCounters[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for DiskIOCounters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]