Struct proc_maps::linux_maps::MapRange[][src]

pub struct MapRange {
    pub offset: usize,
    pub dev: String,
    pub flags: String,
    pub inode: usize,
    // some fields omitted
}

A struct representing a single virtual memory region While this structure only is for Linux, the OSX, Windows, and FreeBSD variants have identical exposed methods

Fields

offset: usizedev: Stringflags: Stringinode: usize

Implementations

impl MapRange[src]

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

Returns the size of this MapRange in bytes

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

Returns the address this MapRange starts at

pub fn filename(&self) -> &Option<String>[src]

Returns the filename of the loaded module

pub fn is_exec(&self) -> bool[src]

Returns whether this range contains executable code

pub fn is_write(&self) -> bool[src]

Returns whether this range contains writeable memory

pub fn is_read(&self) -> bool[src]

Returns whether this range contains readable memory

Trait Implementations

impl Clone for MapRange[src]

impl Debug for MapRange[src]

impl PartialEq<MapRange> for MapRange[src]

impl StructuralPartialEq for MapRange[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.