[][src]Struct procfs::NFSByteCounter

pub struct NFSByteCounter {
    pub normal_read: c_ulonglong,
    pub normal_write: c_ulonglong,
    pub direct_read: c_ulonglong,
    pub direct_write: c_ulonglong,
    pub server_read: c_ulonglong,
    pub server_write: c_ulonglong,
    pub pages_read: c_ulonglong,
    pub pages_write: c_ulonglong,
}

Represents NFS data from /proc/<pid>/mountstats under the section bytes.

The underlying data structure in the kernel can be found under fs/nfs/iostat.h nfs_iostat. The fields are documented in the kernel source only under include/linux/nfs_iostat.h enum nfs_stat_bytecounters

Fields

normal_read: c_ulonglongnormal_write: c_ulonglongdirect_read: c_ulonglongdirect_write: c_ulonglongserver_read: c_ulonglongserver_write: c_ulonglongpages_read: c_ulonglongpages_write: c_ulonglong

Trait Implementations

impl Clone for NFSByteCounter[src]

impl Copy for NFSByteCounter[src]

impl Debug for NFSByteCounter[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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]