Skip to main content

DefaultCache

Type Alias DefaultCache 

Source
pub type DefaultCache = DefaultStore<ProcInfo>;
Expand description

Process info cache. See DefaultStore.

Aliased Type§

pub struct DefaultCache { /* private fields */ }

Trait Implementations§

Source§

impl CacheStore for DefaultCache

Source§

fn get_info(&self, pid: u32) -> Option<ProcInfo>

Get cached process info by PID.
Source§

fn insert_info(&self, pid: u32, info: ProcInfo)

Insert or update process info.