[][src]Struct minidump::MinidumpModuleList

pub struct MinidumpModuleList { /* fields omitted */ }

A list of MinidumpModules contained in a Minidump.

Implementations

impl MinidumpModuleList[src]

pub fn new() -> MinidumpModuleList[src]

Return an empty MinidumpModuleList.

pub fn from_modules(modules: Vec<MinidumpModule>) -> MinidumpModuleList[src]

Create a MinidumpModuleList from a list of MinidumpModules.

pub fn main_module(&self) -> Option<&MinidumpModule>[src]

Returns the module corresponding to the main executable.

pub fn module_at_address(&self, address: u64) -> Option<&MinidumpModule>[src]

Return a MinidumpModule whose address range covers address.

pub fn iter<'a>(&'a self) -> Modules<'a>

Notable traits for Modules<'a>

impl<'a> Iterator for Modules<'a> type Item = &'a MinidumpModule;
[src]

Iterate over the modules in arbitrary order.

pub fn by_addr<'a>(&'a self) -> Modules<'a>

Notable traits for Modules<'a>

impl<'a> Iterator for Modules<'a> type Item = &'a MinidumpModule;
[src]

Iterate over the modules in order by memory address.

pub fn print<T: Write>(&self, f: &mut T) -> Result<()>[src]

Write a human-readable description of this MinidumpModuleList to f.

This is very verbose, it is the format used by minidump_dump.

Trait Implementations

impl Clone for MinidumpModuleList[src]

impl<'a> MinidumpStream<'a> for MinidumpModuleList[src]

Auto Trait Implementations

impl RefUnwindSafe for MinidumpModuleList

impl Send for MinidumpModuleList

impl Sync for MinidumpModuleList

impl Unpin for MinidumpModuleList

impl UnwindSafe for MinidumpModuleList

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.