[][src]Struct python27_sys::PyThreadState

#[repr(C)]
pub struct PyThreadState {
    pub next: *mut PyThreadState,
    pub interp: *mut PyInterpreterState,
    pub frame: *mut PyFrameObject,
    pub recursion_depth: c_int,
    pub tracing: c_int,
    pub use_tracing: c_int,
    pub c_profilefunc: Option<Py_tracefunc>,
    pub c_tracefunc: Option<Py_tracefunc>,
    pub c_profileobj: *mut PyObject,
    pub c_traceobj: *mut PyObject,
    pub curexc_type: *mut PyObject,
    pub curexc_value: *mut PyObject,
    pub curexc_traceback: *mut PyObject,
    pub exc_type: *mut PyObject,
    pub exc_value: *mut PyObject,
    pub exc_traceback: *mut PyObject,
    pub dict: *mut PyObject,
    pub tick_counter: c_int,
    pub gilstate_counter: c_int,
    pub async_exc: *mut PyObject,
    pub thread_id: c_long,
    pub trash_delete_nesting: c_int,
    pub trash_delete_later: *mut PyObject,
}

Fields

next: *mut PyThreadStateinterp: *mut PyInterpreterStateframe: *mut PyFrameObjectrecursion_depth: c_inttracing: c_intuse_tracing: c_intc_profilefunc: Option<Py_tracefunc>c_tracefunc: Option<Py_tracefunc>c_profileobj: *mut PyObjectc_traceobj: *mut PyObjectcurexc_type: *mut PyObjectcurexc_value: *mut PyObjectcurexc_traceback: *mut PyObjectexc_type: *mut PyObjectexc_value: *mut PyObjectexc_traceback: *mut PyObjectdict: *mut PyObjecttick_counter: c_intgilstate_counter: c_intasync_exc: *mut PyObjectthread_id: c_longtrash_delete_nesting: c_inttrash_delete_later: *mut PyObject

Trait Implementations

impl Clone for PyThreadState[src]

impl Copy for PyThreadState[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, 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.