Enum procfs_core::process::MMapPath
source · 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. The i32 value corresponds to Shm.key, while MemoryMap.inode corresponds to Shm.shmid
Other(String)
Some other pseudo-path
Implementations§
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
source§impl PartialEq for MMapPath
impl PartialEq for MMapPath
impl Eq for MMapPath
impl StructuralEq for MMapPath
impl StructuralPartialEq for MMapPath
Auto Trait Implementations§
impl RefUnwindSafe for MMapPath
impl Send for MMapPath
impl Sync for MMapPath
impl Unpin for MMapPath
impl UnwindSafe for MMapPath
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more