pub struct MinidumpMemoryBase<'a, Descriptor> {
    pub desc: Descriptor,
    pub base_address: u64,
    pub size: u64,
    pub bytes: &'a [u8],
}
Expand description

A region of memory from the process that wrote the minidump. This is the underlying generic type for MinidumpMemory and MinidumpMemory64.

Fields

desc: Descriptor

The raw MINIDUMP_MEMORY_DESCRIPTOR from the minidump.

base_address: u64

The starting address of this range of memory.

size: u64

The length of this range of memory.

bytes: &'a [u8]

The contents of the memory.

Implementations

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

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

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

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

Get mem::size_of::<T>() bytes of memory at addr from this region.

Return None if the requested address range falls out of the bounds of this memory region.

Write the contents of this MinidumpMemory to f as a hex string.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.