Struct minidump::MinidumpThread [−][src]
pub struct MinidumpThread<'a> {
pub raw: MINIDUMP_THREAD,
// some fields omitted
}
Expand description
The state of a thread from the process when the minidump was written.
Fields
raw: MINIDUMP_THREAD
The MINIDUMP_THREAD
direct from the minidump file.
Implementations
pub fn context(
&self,
system_info: &MinidumpSystemInfo,
misc: Option<&MinidumpMiscInfo>
) -> Option<Cow<'_, MinidumpContext>>
pub fn stack_memory(
&self,
memory_list: &MinidumpMemoryList<'a>
) -> Option<Cow<'_, MinidumpMemory<'a>>>
pub fn print<T: Write>(
&self,
f: &mut T,
memory: Option<&MinidumpMemoryList<'a>>,
system: Option<&MinidumpSystemInfo>,
misc: Option<&MinidumpMiscInfo>
) -> Result<()>
pub fn print<T: Write>(
&self,
f: &mut T,
memory: Option<&MinidumpMemoryList<'a>>,
system: Option<&MinidumpSystemInfo>,
misc: Option<&MinidumpMiscInfo>
) -> Result<()>
Write a human-readable description of this MinidumpThread
to f
.
This is very verbose, it is the format used by minidump_dump
.
Gets the last error code the thread recorded, just like win32’s GetLastError.
The value is heuristically converted into a CrashReason because that’s our general error code handling machinery, even though this may not actually be the reason for the crash!