pub fn modules() -> Result<Vec<MemoryModule>>Expand description
The installed memory sticks, from the SMBIOS type 17 records; empty slots are left out.
ยงErrors
PermissionDenied on Linux unless the process runs as root (the raw table
is mode 0400); Unsupported on Apple silicon (unified memory, one package).