[][src]Struct minidump::MinidumpModule

pub struct MinidumpModule {
    pub raw: MINIDUMP_MODULE,
    pub codeview_info: Option<CodeView>,
    pub misc_info: Option<IMAGE_DEBUG_MISC>,
    // some fields omitted
}

An executable or shared library loaded in the process at the time the Minidump was written.

Fields

raw: MINIDUMP_MODULE

The MINIDUMP_MODULE direct from the minidump file.

codeview_info: Option<CodeView>

A CodeView record, if one is present.

misc_info: Option<IMAGE_DEBUG_MISC>

A misc debug record, if one is present.

Implementations

impl MinidumpModule[src]

pub fn new(base: u64, size: u32, name: &str) -> MinidumpModule[src]

Create a MinidumpModule with some basic info.

Useful for testing.

pub fn read(
    raw: MINIDUMP_MODULE,
    bytes: &[u8],
    endian: Endian
) -> Result<MinidumpModule, Error>
[src]

Read additional data to construct a MinidumpModule from bytes using the information from the module list in raw.

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

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

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

Trait Implementations

impl Clone for MinidumpModule[src]

impl Module for MinidumpModule[src]

Auto Trait Implementations

impl RefUnwindSafe for MinidumpModule

impl Send for MinidumpModule

impl Sync for MinidumpModule

impl Unpin for MinidumpModule

impl UnwindSafe for MinidumpModule

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.