pub trait MemoryExt {
// Required methods
fn active(&self) -> Information;
fn inactive(&self) -> Information;
fn wire(&self) -> Information;
}
Expand description
MacOS-specific extension to [Memory
]
Required Methods§
Sourcefn active(&self) -> Information
fn active(&self) -> Information
Returns memory currently in use or very recently used, and so it is in RAM.
Sourcefn inactive(&self) -> Information
fn inactive(&self) -> Information
Returns memory that is marked as not used.
Sourcefn wire(&self) -> Information
fn wire(&self) -> Information
Returns memory that is marked to always stay in RAM. It is never moved to disk.