Struct minidump::format::MINIDUMP_THREAD
source · [−]pub struct MINIDUMP_THREAD {
pub thread_id: u32,
pub suspend_count: u32,
pub priority_class: u32,
pub priority: u32,
pub teb: u64,
pub stack: MINIDUMP_MEMORY_DESCRIPTOR,
pub thread_context: MINIDUMP_LOCATION_DESCRIPTOR,
}
Expand description
Information about a single thread from a minidump
This struct matches the Microsoft struct of the same name.
Fields
thread_id: u32
The identifier of this thread
suspend_count: u32
The suspend count for this thread
If greater than zero, the thread is suspended.
priority_class: u32
The priority class of the thread
See Scheduling Priorities on MSDN.
priority: u32
The priority level of the thread
teb: u64
The thread environment block
stack: MINIDUMP_MEMORY_DESCRIPTOR
The location and base address of this thread’s stack memory
thread_context: MINIDUMP_LOCATION_DESCRIPTOR
The location of a CPU-specific CONTEXT_
struct for this thread’s CPU context
Trait Implementations
sourceimpl Clone for MINIDUMP_THREAD
impl Clone for MINIDUMP_THREAD
sourcefn clone(&self) -> MINIDUMP_THREAD
fn clone(&self) -> MINIDUMP_THREAD
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MINIDUMP_THREAD
impl Debug for MINIDUMP_THREAD
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_THREAD where
MINIDUMP_THREAD: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_THREAD where
MINIDUMP_THREAD: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(MINIDUMP_THREAD, usize), <MINIDUMP_THREAD as TryFromCtx<'a, Endian, [u8]>>::Error>
sourceimpl TryIntoCtx<Endian, [u8]> for MINIDUMP_THREAD
impl TryIntoCtx<Endian, [u8]> for MINIDUMP_THREAD
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_THREAD
impl<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_THREAD
Auto Trait Implementations
impl RefUnwindSafe for MINIDUMP_THREAD
impl Send for MINIDUMP_THREAD
impl Sync for MINIDUMP_THREAD
impl Unpin for MINIDUMP_THREAD
impl UnwindSafe for MINIDUMP_THREAD
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more