[−][src]Struct minidump::MinidumpThreadList
A list of MinidumpThread
s contained in a Minidump
.
Fields
threads: Vec<MinidumpThread<'a>>
The threads, in the order they were present in the Minidump
.
Implementations
impl<'a> MinidumpThreadList<'a>
[src]
pub fn get_thread(&self, id: u32) -> Option<&MinidumpThread<'a>>
[src]
Get the thread with id id
from this thread list if it exists.
pub fn print<T: Write>(&self, f: &mut T) -> Result<()>
[src]
Write a human-readable description of this MinidumpThreadList
to f
.
This is very verbose, it is the format used by minidump_dump
.
Trait Implementations
impl<'a> MinidumpStream<'a> for MinidumpThreadList<'a>
[src]
const STREAM_TYPE: MINIDUMP_STREAM_TYPE
[src]
fn read(
bytes: &'a [u8],
all: &'a [u8],
endian: Endian
) -> Result<MinidumpThreadList<'a>, Error>
[src]
bytes: &'a [u8],
all: &'a [u8],
endian: Endian
) -> Result<MinidumpThreadList<'a>, Error>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MinidumpThreadList<'a>
impl<'a> Send for MinidumpThreadList<'a>
impl<'a> Sync for MinidumpThreadList<'a>
impl<'a> Unpin for MinidumpThreadList<'a>
impl<'a> UnwindSafe for MinidumpThreadList<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,