[][src]Struct py_spy::StackTrace

pub struct StackTrace {
    pub pid: Pid,
    pub thread_id: u64,
    pub os_thread_id: Option<u64>,
    pub active: bool,
    pub owns_gil: bool,
    pub frames: Vec<Frame>,
}

Call stack for a single python thread

Fields

pid: Pid

The process id than generated this stack trace

thread_id: u64

The python thread id for this stack trace

os_thread_id: Option<u64>

The OS thread id for this stack tracee

active: bool

Whether or not the thread was active

owns_gil: bool

Whether or not the thread held the GIL

frames: Vec<Frame>

The frames

Methods

impl StackTrace[src]

pub fn status_str(&self) -> &str[src]

pub fn format_threadid(&self) -> String[src]

Trait Implementations

impl Clone for StackTrace[src]

impl Debug for StackTrace[src]

impl Serialize for StackTrace[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,