Struct minidump::MinidumpMemoryInfo
source · pub struct MinidumpMemoryInfo<'a> {
pub raw: MINIDUMP_MEMORY_INFO,
pub allocation_protection: MemoryProtection,
pub state: MemoryState,
pub protection: MemoryProtection,
pub ty: MemoryType,
/* private fields */
}
Expand description
Metadata about a region of memory (whether it is executable, freed, private, and so on).
Fields§
§raw: MINIDUMP_MEMORY_INFO
The raw value from the minidump.
allocation_protection: MemoryProtection
The memory protection when the region was initially allocated.
state: MemoryState
The state of the pages in the region (whether it is freed or not).
protection: MemoryProtection
The access protection of the pages in the region.
ty: MemoryType
What kind of memory mapping the pages in this region are.
Implementations§
source§impl<'a> MinidumpMemoryInfo<'a>
impl<'a> MinidumpMemoryInfo<'a>
pub fn memory_range(&self) -> Option<Range<u64>>
sourcepub fn is_readable(&self) -> bool
pub fn is_readable(&self) -> bool
Whether this memory range was readable.
sourcepub fn is_writable(&self) -> bool
pub fn is_writable(&self) -> bool
Whether this memory range was writable.
sourcepub fn is_executable(&self) -> bool
pub fn is_executable(&self) -> bool
Whether this memory range was executable.
Trait Implementations§
source§impl<'a> Clone for MinidumpMemoryInfo<'a>
impl<'a> Clone for MinidumpMemoryInfo<'a>
source§fn clone(&self) -> MinidumpMemoryInfo<'a>
fn clone(&self) -> MinidumpMemoryInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for MinidumpMemoryInfo<'a>
impl<'a> Debug for MinidumpMemoryInfo<'a>
source§impl<'a> PartialEq for MinidumpMemoryInfo<'a>
impl<'a> PartialEq for MinidumpMemoryInfo<'a>
source§fn eq(&self, other: &MinidumpMemoryInfo<'a>) -> bool
fn eq(&self, other: &MinidumpMemoryInfo<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for MinidumpMemoryInfo<'a>
impl<'a> StructuralPartialEq for MinidumpMemoryInfo<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MinidumpMemoryInfo<'a>
impl<'a> Send for MinidumpMemoryInfo<'a>
impl<'a> Sync for MinidumpMemoryInfo<'a>
impl<'a> Unpin for MinidumpMemoryInfo<'a>
impl<'a> UnwindSafe for MinidumpMemoryInfo<'a>
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