Struct procfs::process::MountNFSStatistics [−][src]
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
impl MountNFSStatistics
[src]
pub fn server_caps(&self) -> ProcResult<Option<NFSServerCaps>>
[src]
Attempts to parse the caps= value from the caps field.
Trait Implementations
impl Clone for MountNFSStatistics
[src]
fn clone(&self) -> MountNFSStatistics
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MountNFSStatistics
[src]
Auto Trait Implementations
impl RefUnwindSafe for MountNFSStatistics
impl Send for MountNFSStatistics
impl Sync for MountNFSStatistics
impl Unpin for MountNFSStatistics
impl UnwindSafe for MountNFSStatistics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,