Type Alias minidump::MmapMinidump

source ·
pub type MmapMinidump = Minidump<'static, Mmap>;
Expand description

An index into the contents of a memory-mapped minidump.

Aliased Type§

struct MmapMinidump {
    pub header: MINIDUMP_HEADER,
    pub endian: Endian,
    /* private fields */
}

Fields§

§header: MINIDUMP_HEADER

The raw minidump header from the file.

§endian: Endian

The endianness of this minidump file.

Implementations§

source§

impl MmapMinidump

source

pub fn read_path<P>(path: P) -> Result<MmapMinidump, Error>
where P: AsRef<Path>,

Read a Minidump from a Path to a file on disk.

See the type definition for an example.