[−][src]Struct minidump::MinidumpMemoryList
A list of memory regions included in a minidump.
Implementations
impl<'a> MinidumpMemoryList<'a>
[src]
pub fn new() -> MinidumpMemoryList<'a>
[src]
Return an empty MinidumpMemoryList
.
pub fn from_regions(regions: Vec<MinidumpMemory<'a>>) -> MinidumpMemoryList<'a>
[src]
Create a MinidumpMemoryList
from a list of MinidumpMemory
s.
pub fn memory_at_address(&self, address: u64) -> Option<&MinidumpMemory<'a>>
[src]
Return a MinidumpMemory
containing memory at address
, if one exists.
pub fn iter<'b>(&'b self) -> MemoryRegions<'a, 'b>ⓘNotable traits for MemoryRegions<'b, 'a>
impl<'b, 'a> Iterator for MemoryRegions<'b, 'a> where
'a: 'b, type Item = &'b MinidumpMemory<'a>;
[src]
Notable traits for MemoryRegions<'b, 'a>
impl<'b, 'a> Iterator for MemoryRegions<'b, 'a> where
'a: 'b, type Item = &'b MinidumpMemory<'a>;
Iterate over the memory regions in the order contained in the minidump.
pub fn by_addr<'b>(&'b self) -> MemoryRegions<'a, 'b>ⓘNotable traits for MemoryRegions<'b, 'a>
impl<'b, 'a> Iterator for MemoryRegions<'b, 'a> where
'a: 'b, type Item = &'b MinidumpMemory<'a>;
[src]
Notable traits for MemoryRegions<'b, 'a>
impl<'b, 'a> Iterator for MemoryRegions<'b, 'a> where
'a: 'b, type Item = &'b MinidumpMemory<'a>;
Iterate over the memory regions in order by memory address.
pub fn print<T: Write>(&self, f: &mut T) -> Result<()>
[src]
Write a human-readable description of this MinidumpMemoryList
to f
.
This is very verbose, it is the format used by minidump_dump
.
Trait Implementations
impl<'a> MinidumpStream<'a> for MinidumpMemoryList<'a>
[src]
const STREAM_TYPE: MINIDUMP_STREAM_TYPE
[src]
fn read(
bytes: &'a [u8],
all: &'a [u8],
endian: Endian
) -> Result<MinidumpMemoryList<'a>, Error>
[src]
bytes: &'a [u8],
all: &'a [u8],
endian: Endian
) -> Result<MinidumpMemoryList<'a>, Error>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MinidumpMemoryList<'a>
impl<'a> Send for MinidumpMemoryList<'a>
impl<'a> Sync for MinidumpMemoryList<'a>
impl<'a> Unpin for MinidumpMemoryList<'a>
impl<'a> UnwindSafe for MinidumpMemoryList<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,