Struct procfs::process::NFSByteCounter
source · 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§
source§impl Clone for NFSByteCounter
impl Clone for NFSByteCounter
source§fn clone(&self) -> NFSByteCounter
fn clone(&self) -> NFSByteCounter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more