Struct procfs::process::MountNFSStatistics[][src]

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,
}
Expand description

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

Implementations

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.