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: NFSEventCounter§bytes: NFSByteCounter§per_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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.