pub struct VmStat(pub HashMap<String, i64>);
Expand description
Various virtual memory statistics
Since the exact set of statistics will vary from kernel to kernel, and because most of them are not well documented, this struct contains a HashMap instead of specific members. Consult the kernel source code for more details of this data.
Tuple Fields§
§0: HashMap<String, i64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for VmStat
impl<'de> Deserialize<'de> for VmStat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromBufRead for VmStat
impl FromBufRead for VmStat
fn from_buf_read<R: BufRead>(r: R) -> ProcResult<Self>
Auto Trait Implementations§
impl Freeze for VmStat
impl RefUnwindSafe for VmStat
impl Send for VmStat
impl Sync for VmStat
impl Unpin for VmStat
impl UnwindSafe for VmStat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)