[][src]Struct minidump::MinidumpMemoryList

pub struct MinidumpMemoryList<'a> { /* fields omitted */ }

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 MinidumpMemorys.

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]

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]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.