Struct mmap_rs::MemoryArea
source · pub struct MemoryArea { /* private fields */ }
Expand description
Describes a memory area of a process.
Implementations§
source§impl MemoryArea
impl MemoryArea
sourcepub fn allocation_base(&self) -> usize
pub fn allocation_base(&self) -> usize
The allocation base of the memory area.
sourcepub fn protection(&self) -> Protection
pub fn protection(&self) -> Protection
The protection with which the memory area has been mapped.
The share mode of the memory area.
sourcepub fn path(&self) -> Option<&PathBuf>
pub fn path(&self) -> Option<&PathBuf>
The path to the file that backs this memory area, if backed by a file.
sourcepub fn file_offset(&self) -> Option<u64>
pub fn file_offset(&self) -> Option<u64>
The file offset, if backed by a file.
Trait Implementations§
source§impl Clone for MemoryArea
impl Clone for MemoryArea
source§fn clone(&self) -> MemoryArea
fn clone(&self) -> MemoryArea
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MemoryArea
impl Send for MemoryArea
impl Sync for MemoryArea
impl Unpin for MemoryArea
impl UnwindSafe for MemoryArea
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