pub struct SmapsRollup {
pub rss: u64,
pub pss: u64,
pub pss_anon: u64,
pub pss_file: u64,
pub pss_shmem: u64,
pub private_clean: u64,
pub private_dirty: u64,
pub swap: u64,
pub swap_pss: u64,
}Expand description
Memory figures from /proc/<pid>/smaps_rollup, in bytes.
Fields§
§rss: u64§pss: u64§pss_anon: u64§pss_file: u64§pss_shmem: u64§private_clean: u64§private_dirty: u64§swap: u64§swap_pss: u64Implementations§
Trait Implementations§
Source§impl Clone for SmapsRollup
impl Clone for SmapsRollup
impl Copy for SmapsRollup
Source§impl Debug for SmapsRollup
impl Debug for SmapsRollup
Source§impl Default for SmapsRollup
impl Default for SmapsRollup
impl Eq for SmapsRollup
Source§impl PartialEq for SmapsRollup
impl PartialEq for SmapsRollup
impl StructuralPartialEq for SmapsRollup
Auto Trait Implementations§
impl Freeze for SmapsRollup
impl RefUnwindSafe for SmapsRollup
impl Send for SmapsRollup
impl Sync for SmapsRollup
impl Unpin for SmapsRollup
impl UnsafeUnpin for SmapsRollup
impl UnwindSafe for SmapsRollup
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> 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