[][src]Struct procmaps::Map

pub struct Map {
    pub base: usize,
    pub ceiling: usize,
    pub perms: Permissions,
    pub offset: usize,
    pub dev_major: usize,
    pub dev_minor: usize,
    pub inode: usize,
    pub pathname: Path,
}

Holds data for a given memory mapped region. For more information.

Fields

base: usize

Base of mapped region in process

ceiling: usize

Ceiling of mapped region in process

perms: Permissions

Access permissions of memory region

offset: usize

If this mapping is backed by a file, this is the offset into the file.

dev_major: usize

Major device number

dev_minor: usize

Minor device number

inode: usize

The inode on the above device

pathname: Path

If there is no pathname, this mapping was obtained via mmap(2)

Implementations

impl Map[src]

pub fn size_of_mapping(&self) -> usize[src]

Calculate the size of the mapped region

Trait Implementations

impl Debug for Map[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.