Skip to main content

probe_memory_async

Function probe_memory_async 

Source
pub async fn probe_memory_async() -> Option<MemoryInfo>
Expand description

Best-effort probe of total/available physical memory (Linux then macOS). Returns None when unavailable; the scheduler then relies on trial and error.