heim_memory::os::macos

Trait MemoryExt

Source
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§

Source

fn active(&self) -> Information

Returns memory currently in use or very recently used, and so it is in RAM.

Source

fn inactive(&self) -> Information

Returns memory that is marked as not used.

Source

fn wire(&self) -> Information

Returns memory that is marked to always stay in RAM. It is never moved to disk.

Implementors§