#[repr(C)]pub struct ThreadSamplingEvent {
pub ip: u64,
pub state: ExecutionState,
}
Expand description
Event data for thread sampling operations.
Fields§
§ip: u64
Instruction pointer at sampling time.
state: ExecutionState
Thread execution state at sampling time.
Trait Implementations§
Source§impl Clone for ThreadSamplingEvent
impl Clone for ThreadSamplingEvent
Source§fn clone(&self) -> ThreadSamplingEvent
fn clone(&self) -> ThreadSamplingEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThreadSamplingEvent
impl Debug for ThreadSamplingEvent
Source§impl TraceDataCast for ThreadSamplingEvent
impl TraceDataCast for ThreadSamplingEvent
impl Copy for ThreadSamplingEvent
Auto Trait Implementations§
impl Freeze for ThreadSamplingEvent
impl ObjSafe for ThreadSamplingEvent
impl RefUnwindSafe for ThreadSamplingEvent
impl Send for ThreadSamplingEvent
impl Sync for ThreadSamplingEvent
impl Unpin for ThreadSamplingEvent
impl UnwindSafe for ThreadSamplingEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more