[][src]Struct procfs::MountNFSStatistics

pub struct MountNFSStatistics {
    pub version: String,
    pub opts: Vec<String>,
    pub age: Duration,
    pub caps: Vec<String>,
    pub sec: Vec<String>,
    pub events: NFSEventCounter,
    pub bytes: NFSByteCounter,
    pub per_op_stats: NFSPerOpStats,
}

Only NFS mounts provide additional statistics in MountStat entries.

Fields

version: String

The version of the NFS statistics block. Either "1.0" or "1.1".

opts: Vec<String>

The mount options.

The meaning of these can be found in the manual pages for mount(5) and nfs(5)

age: Duration

Duration the NFS mount has been in existence.

caps: Vec<String>

NFS Capabilities.

See include/linux/nfs_fs_sb.h

Some known values:

  • caps: server capabilities. See NFSServerCaps.
  • wtmult: server disk block size
  • dtsize: readdir size
  • bsize: server block size
sec: Vec<String>events: NFSEventCounterbytes: NFSByteCounterper_op_stats: NFSPerOpStats

Methods

impl MountNFSStatistics[src]

pub fn server_caps(&self) -> Option<NFSServerCaps>[src]

Attempts to parse the caps= value from the [caps] field.

Trait Implementations

impl Clone for MountNFSStatistics[src]

impl Debug for MountNFSStatistics[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]