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
impl MmapMinidump
sourcepub fn read_path<P>(path: P) -> Result<MmapMinidump, Error>
pub fn read_path<P>(path: P) -> Result<MmapMinidump, Error>
Read a Minidump
from a Path
to a file on disk.
See the type definition for an example.