Struct pagemap::MapsEntry [−][src]
pub struct MapsEntry { /* fields omitted */ }
A memory mapping of a process, parsed from /proc/<PID>/maps
.
Implementations
impl MapsEntry
[src]
impl MapsEntry
[src]pub fn memory_region(&self) -> MemoryRegion
[src]
pub fn memory_region(&self) -> MemoryRegion
[src]Retrieve the virtual memory region of the mapping.
pub fn permissions(&self) -> PagePermissions
[src]
pub fn permissions(&self) -> PagePermissions
[src]Retrieve the permissions for the pages of the particular mapping, which dictate the possible ways that the pages of the mapping are allowed to be accessed.
pub fn offset(&self) -> u64
[src]
pub fn offset(&self) -> u64
[src]Retrieve the offset in the file backing the mapping (if any) where the mapping begins.
pub fn device_numbers(&self) -> DeviceNumbers
[src]
pub fn device_numbers(&self) -> DeviceNumbers
[src]Retrieve the major and minor numbers of the file backing the mapping, if any.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MapsEntry
impl Send for MapsEntry
impl Sync for MapsEntry
impl Unpin for MapsEntry
impl UnwindSafe for MapsEntry
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more