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: usizeBase of mapped region in process
ceiling: usizeCeiling of mapped region in process
perms: PermissionsAccess permissions of memory region
offset: usizeIf this mapping is backed by a file, this is the offset into the file.
dev_major: usizeMajor device number
dev_minor: usizeMinor device number
inode: usizeThe inode on the above device
pathname: PathIf 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