[][src]Struct procfs::process::NFSEventCounter

pub struct NFSEventCounter {
    pub inode_revalidate: c_ulong,
    pub deny_try_revalidate: c_ulong,
    pub data_invalidate: c_ulong,
    pub attr_invalidate: c_ulong,
    pub vfs_open: c_ulong,
    pub vfs_lookup: c_ulong,
    pub vfs_access: c_ulong,
    pub vfs_update_page: c_ulong,
    pub vfs_read_page: c_ulong,
    pub vfs_read_pages: c_ulong,
    pub vfs_write_page: c_ulong,
    pub vfs_write_pages: c_ulong,
    pub vfs_get_dents: c_ulong,
    pub vfs_set_attr: c_ulong,
    pub vfs_flush: c_ulong,
    pub vfs_fs_sync: c_ulong,
    pub vfs_lock: c_ulong,
    pub vfs_release: c_ulong,
    pub congestion_wait: c_ulong,
    pub set_attr_trunc: c_ulong,
    pub extend_write: c_ulong,
    pub silly_rename: c_ulong,
    pub short_read: c_ulong,
    pub short_write: c_ulong,
    pub delay: c_ulong,
    pub pnfs_read: c_ulong,
    pub pnfs_write: c_ulong,
}

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

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_eventcounters.

Fields

inode_revalidate: c_ulongdeny_try_revalidate: c_ulongdata_invalidate: c_ulongattr_invalidate: c_ulongvfs_open: c_ulongvfs_lookup: c_ulongvfs_access: c_ulongvfs_update_page: c_ulongvfs_read_page: c_ulongvfs_read_pages: c_ulongvfs_write_page: c_ulongvfs_write_pages: c_ulongvfs_get_dents: c_ulongvfs_set_attr: c_ulongvfs_flush: c_ulongvfs_fs_sync: c_ulongvfs_lock: c_ulongvfs_release: c_ulongcongestion_wait: c_ulongset_attr_trunc: c_ulongextend_write: c_ulongsilly_rename: c_ulongshort_read: c_ulongshort_write: c_ulongdelay: c_ulongpnfs_read: c_ulongpnfs_write: c_ulong

Trait Implementations

impl Clone for NFSEventCounter[src]

impl Copy for NFSEventCounter[src]

impl Debug for NFSEventCounter[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.