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<VmStat, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<VmStat, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromBufRead for VmStat
impl FromBufRead for VmStat
source§impl Serialize for VmStat
impl Serialize for VmStat
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
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