pub struct PyBaseExceptionObject {
    pub ob_base: PyObject,
    pub dict: *mut PyObject,
    pub args: *mut PyObject,
    pub traceback: *mut PyObject,
    pub context: *mut PyObject,
    pub cause: *mut PyObject,
    pub suppress_context: char,
}

Fields

ob_base: PyObjectdict: *mut PyObject
Available on non-PyPy only.
args: *mut PyObject
Available on non-PyPy only.
traceback: *mut PyObject
Available on non-PyPy only.
context: *mut PyObject
Available on non-PyPy only.
cause: *mut PyObject
Available on non-PyPy only.
suppress_context: char
Available on non-PyPy only.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.