Struct _PyErr_StackItem

Source
#[repr(C)]
#[doc(hidden)] pub struct _PyErr_StackItem { exc_type: *mut PyObject, exc_value: *mut PyObject, exc_traceback: *mut PyObject, previous_item: *mut _PyErr_StackItem, }
Available on non-Py_LIMITED_API and non-PyPy only.
Expand description

Private structure used inline in PyGenObject

Fields§

§exc_type: *mut PyObject
Available on non-Py_3_11 only.
§exc_value: *mut PyObject§exc_traceback: *mut PyObject
Available on non-Py_3_11 only.
§previous_item: *mut _PyErr_StackItem

Trait Implementations§

Source§

impl Clone for _PyErr_StackItem

Source§

fn clone(&self) -> _PyErr_StackItem

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for _PyErr_StackItem

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here