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<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_THREAD
impl<'a> TryIntoCtx<Endian, [u8]> for &'a MINIDUMP_THREAD
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <&'a MINIDUMP_THREAD as TryIntoCtx<Endian, [u8]>>::Error>
sourceimpl TryIntoCtx<Endian, [u8]> for MINIDUMP_THREAD
impl TryIntoCtx<Endian, [u8]> for MINIDUMP_THREAD
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <MINIDUMP_THREAD as TryIntoCtx<Endian, [u8]>>::Error>
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more