Struct Region
pub struct Region { /* private fields */ }Expand description
A contiguous range of memory mapped in the current process.
Implementations§
§impl Region
impl Region
pub fn name(&self) -> String
pub fn name(&self) -> String
Name associated with the region: name/path of the module mapped at this
address (e.g. libc.so.6) or the identifier of a region that is not
backed by a file (e.g. [stack], [heap]).
It can be empty for anonymous regions.
pub fn permissions(&self) -> Perm
pub fn permissions(&self) -> Perm
Permissions of the region.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl !Send for Region
impl !Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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