[][src]Struct sys_metrics::IoStats

pub struct IoStats {
    pub device_name: String,
    pub bytes_read: i64,
    pub bytes_wrtn: i64,
}

Struct containing a disk_io (bytes read/wrtn) information.

Fields

device_name: Stringbytes_read: i64bytes_wrtn: i64

Trait Implementations

impl Debug for IoStats[src]

impl Serialize for IoStats[src]

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]

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

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

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.