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,
}
Expand description
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§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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