pub struct ProcessStats {Show 20 fields
pub size: u64,
pub rss: u64,
pub pss: u64,
pub pss_dirty: u64,
pub shared_clean: u64,
pub shared_dirty: u64,
pub private_clean: u64,
pub private_dirty: u64,
pub referenced: u64,
pub anonymous: u64,
pub lazy_free: u64,
pub anon_huge_pages: u64,
pub shmem_huge_pages: u64,
pub shmem_pmd_mapped: u64,
pub file_pmd_mapped: u64,
pub shared_hugetlb: u64,
pub private_hugetlb: u64,
pub swap: u64,
pub swap_pss: u64,
pub locked: u64,
}Fields§
§size: u64§rss: u64§pss: u64§pss_dirty: u64§private_clean: u64§private_dirty: u64§referenced: u64§anonymous: u64§lazy_free: u64§anon_huge_pages: u64§shmem_huge_pages: u64§shmem_pmd_mapped: u64§file_pmd_mapped: u64§private_hugetlb: u64§swap: u64§swap_pss: u64§locked: u64Trait Implementations§
Source§impl Clone for ProcessStats
impl Clone for ProcessStats
Source§fn clone(&self) -> ProcessStats
fn clone(&self) -> ProcessStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessStats
impl Debug for ProcessStats
Source§impl Default for ProcessStats
impl Default for ProcessStats
Source§fn default() -> ProcessStats
fn default() -> ProcessStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProcessStats
impl PartialEq for ProcessStats
Source§fn eq(&self, other: &ProcessStats) -> bool
fn eq(&self, other: &ProcessStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessStats
impl Serialize for ProcessStats
impl StructuralPartialEq for ProcessStats
Auto Trait Implementations§
impl Freeze for ProcessStats
impl RefUnwindSafe for ProcessStats
impl Send for ProcessStats
impl Sync for ProcessStats
impl Unpin for ProcessStats
impl UnsafeUnpin for ProcessStats
impl UnwindSafe for ProcessStats
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more