Struct procfs::process::MemoryMapData[][src]

pub struct MemoryMapData {
    pub map: HashMap<String, u64>,
    pub vm_flags: Option<VmFlags>,
}
Expand description

Represents the information about a specific mapping as presented in /proc//smaps

To construct this structure, see Process::smaps()

Fields

map: HashMap<String, u64>

Key-Value pairs that may represent statistics about memory usage, or other interesting things, such a “ProtectionKey”(if you’re on X86 and that kernel config option was specified).

Note that should a Key-Value pair represent a memory usage statistic, it will be in bytes.

Check your manpage for more information

vm_flags: Option<VmFlags>

Kernel flags associated with the virtual memory area

(since Linux 3.8)

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.