Struct procfs::process::MemoryMapData
source · [−]Expand description
Represents the information about a specific mapping as presented in /proc/
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
sourceimpl Debug for MemoryMapData
impl Debug for MemoryMapData
sourceimpl Default for MemoryMapData
impl Default for MemoryMapData
sourcefn default() -> MemoryMapData
fn default() -> MemoryMapData
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MemoryMapData
impl Send for MemoryMapData
impl Sync for MemoryMapData
impl Unpin for MemoryMapData
impl UnwindSafe for MemoryMapData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more