Enum minidump::UnifiedMemoryList
source · pub enum UnifiedMemoryList<'a> {
Memory(MinidumpMemoryList<'a>),
Memory64(MinidumpMemory64List<'a>),
}
Expand description
Provides a unified interface for MinidumpMemoryList and MinidumpMemory64List
Variants§
Memory(MinidumpMemoryList<'a>)
Memory64(MinidumpMemory64List<'a>)
Implementations§
source§impl<'mdmp> UnifiedMemoryList<'mdmp>
impl<'mdmp> UnifiedMemoryList<'mdmp>
pub fn memory_at_address<'slf>( &'slf self, address: u64, ) -> Option<UnifiedMemory<'slf, 'mdmp>>
pub fn iter<'slf>( &'slf self, ) -> impl Iterator<Item = UnifiedMemory<'slf, 'mdmp>>
sourcepub fn by_addr<'slf>(
&'slf self,
) -> impl Iterator<Item = UnifiedMemory<'slf, 'mdmp>>
pub fn by_addr<'slf>( &'slf self, ) -> impl Iterator<Item = UnifiedMemory<'slf, 'mdmp>>
Iterate over the memory regions in order by memory address.
pub fn print<T: Write>(&self, f: &mut T, brief: bool) -> Result<()>
Trait Implementations§
source§impl<'a> Debug for UnifiedMemoryList<'a>
impl<'a> Debug for UnifiedMemoryList<'a>
Auto Trait Implementations§
impl<'a> Freeze for UnifiedMemoryList<'a>
impl<'a> RefUnwindSafe for UnifiedMemoryList<'a>
impl<'a> Send for UnifiedMemoryList<'a>
impl<'a> Sync for UnifiedMemoryList<'a>
impl<'a> Unpin for UnifiedMemoryList<'a>
impl<'a> UnwindSafe for UnifiedMemoryList<'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