pub fn memory_stats() -> Option<MemoryStats>Expand description
Returns a snapshot of the the memory used by the current process.
ยงErrors
If the current memory usage cannot be queried
or memory_stats is run on a unsupported platform,
None is returned.