pub enum Path {
MappedFile(String),
Stack,
ThreadStack(usize),
Vdso,
Heap,
Vvar,
Vsyscall,
}
Expand description
This enum represents the pathname field of a given process. Usually this is a file that backs up a given mapping.
Variants§
MappedFile(String)
A file backs up this mapping
Stack
This mapping is the main thread stack
ThreadStack(usize)
This mapping is a thread’s stack
Vdso
This mapping is the virtual dynamically linked shared object
Heap
This mapping is the process’s heap
Vvar
This mapping holds variables updated by the kernel
Vsyscall
This region is the vsyscall mapping
Trait Implementations§
impl StructuralPartialEq for Path
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
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