Struct proc_maps::linux_maps::MapRange [−][src]
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: usize
dev: String
flags: String
inode: 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
impl RefUnwindSafe for MapRange
impl Send for MapRange
impl Sync for MapRange
impl Unpin for MapRange
impl UnwindSafe for MapRange
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,