pub struct ProcFsXfsStat {
pub xs_write_calls: Option<u64>,
pub xs_read_calls: Option<u64>,
pub xs_write_bytes: Option<u64>,
pub xs_read_bytes: Option<u64>,
}Expand description
Struct for holding /proc/fs/xfs/stat statistics
Fields§
§xs_write_calls: Option<u64>§xs_read_calls: Option<u64>§xs_write_bytes: Option<u64>§xs_read_bytes: Option<u64>Implementations§
Source§impl ProcFsXfsStat
impl ProcFsXfsStat
pub fn new() -> ProcFsXfsStat
pub fn parse_proc_fs_xfs_stat(proc_fs_xfs_stat: &str) -> ProcFsXfsStat
pub fn read_proc_fs_xfs_stat(proc_fs_xfs_stat: &str) -> ProcFsXfsStat
Trait Implementations§
Source§impl Debug for ProcFsXfsStat
impl Debug for ProcFsXfsStat
Source§impl Default for ProcFsXfsStat
impl Default for ProcFsXfsStat
Source§fn default() -> ProcFsXfsStat
fn default() -> ProcFsXfsStat
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProcFsXfsStat
impl PartialEq for ProcFsXfsStat
impl StructuralPartialEq for ProcFsXfsStat
Auto Trait Implementations§
impl Freeze for ProcFsXfsStat
impl RefUnwindSafe for ProcFsXfsStat
impl Send for ProcFsXfsStat
impl Sync for ProcFsXfsStat
impl Unpin for ProcFsXfsStat
impl UnwindSafe for ProcFsXfsStat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more