Enum minidump::UnifiedMemoryInfo
source · pub enum UnifiedMemoryInfo<'a> {
Map(&'a MinidumpLinuxMapInfo<'a>),
Info(&'a MinidumpMemoryInfo<'a>),
}
Expand description
A UnifiedMemoryInfoList
entry, providing metatadata on a region of
memory in the crashed process.
Variants§
Map(&'a MinidumpLinuxMapInfo<'a>)
Info(&'a MinidumpMemoryInfo<'a>)
Implementations§
source§impl<'a> UnifiedMemoryInfo<'a>
impl<'a> UnifiedMemoryInfo<'a>
sourcepub fn memory_range(&self) -> Option<Range<u64>>
pub fn memory_range(&self) -> Option<Range<u64>>
The range of memory this info applies to.
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 UnifiedMemoryInfo<'a>
impl<'a> Clone for UnifiedMemoryInfo<'a>
source§fn clone(&self) -> UnifiedMemoryInfo<'a>
fn clone(&self) -> UnifiedMemoryInfo<'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 UnifiedMemoryInfo<'a>
impl<'a> Debug for UnifiedMemoryInfo<'a>
impl<'a> Copy for UnifiedMemoryInfo<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for UnifiedMemoryInfo<'a>
impl<'a> Send for UnifiedMemoryInfo<'a>
impl<'a> Sync for UnifiedMemoryInfo<'a>
impl<'a> Unpin for UnifiedMemoryInfo<'a>
impl<'a> UnwindSafe for UnifiedMemoryInfo<'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