pub struct NFSByteCounter {
    pub normal_read: u64,
    pub normal_write: u64,
    pub direct_read: u64,
    pub direct_write: u64,
    pub server_read: u64,
    pub server_write: u64,
    pub pages_read: u64,
    pub pages_write: u64,
}
Expand description

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: u64§normal_write: u64§direct_read: u64§direct_write: u64§server_read: u64§server_write: u64§pages_read: u64§pages_write: u64

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.