pub enum MMapPath {
Path(PathBuf),
Heap,
Stack,
TStack(u32),
Vdso,
Vvar,
Vsyscall,
Rollup,
Anonymous,
Vsys(i32),
Other(String),
}Variants§
Path(PathBuf)
The file that is backing the mapping.
Heap
The process’s heap.
Stack
The initial process’s (also known as the main thread’s) stack.
TStack(u32)
A thread’s stack (where the <tid> is a thread ID). It corresponds to the
/proc/<pid>/task/<tid>/ path.
(since Linux 3.4)
Vdso
The virtual dynamically linked shared object.
Vvar
Shared kernel variables
Vsyscall
obsolete virtual syscalls, succeeded by vdso
Rollup
rollup memory mappings, from /proc/<pid>/smaps_rollup
Anonymous
An anonymous mapping as obtained via mmap(2).
Vsys(i32)
Shared memory segment
Other(String)
Some other pseudo-path
Trait Implementations§
source§impl<'de> Deserialize<'de> for MMapPath
impl<'de> Deserialize<'de> for MMapPath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more