[][src]Trait heim_memory::os::macos::MemoryExt

pub trait MemoryExt {
    pub fn active(&self) -> Information;
pub fn inactive(&self) -> Information;
pub fn wire(&self) -> Information; }
This is supported on macOS only.

MacOS-specific extension to Memory.

Required methods

pub fn active(&self) -> Information[src]

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

pub fn inactive(&self) -> Information[src]

Returns memory that is marked as not used.

pub fn wire(&self) -> Information[src]

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

Loading content...

Implementors

Loading content...