#[repr(C)]
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: PyObject§dict: *mut PyObject§args: *mut PyObject§traceback: *mut PyObject§context: *mut PyObject§cause: *mut PyObject§suppress_context: char

Trait Implementations§

source§

impl Debug for PyBaseExceptionObject

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl PyLayout<PyArithmeticError> for PyBaseExceptionObject

source§

impl PyLayout<PyAssertionError> for PyBaseExceptionObject

source§

impl PyLayout<PyAttributeError> for PyBaseExceptionObject

source§

impl PyLayout<PyBaseException> for PyBaseExceptionObject

source§

impl PyLayout<PyBlockingIOError> for PyBaseExceptionObject

source§

impl PyLayout<PyBrokenPipeError> for PyBaseExceptionObject

source§

impl PyLayout<PyBufferError> for PyBaseExceptionObject

source§

impl PyLayout<PyBytesWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyChildProcessError> for PyBaseExceptionObject

source§

impl PyLayout<PyConnectionAbortedError> for PyBaseExceptionObject

source§

impl PyLayout<PyConnectionError> for PyBaseExceptionObject

source§

impl PyLayout<PyConnectionRefusedError> for PyBaseExceptionObject

source§

impl PyLayout<PyConnectionResetError> for PyBaseExceptionObject

source§

impl PyLayout<PyDeprecationWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyEOFError> for PyBaseExceptionObject

source§

impl PyLayout<PyEnvironmentError> for PyBaseExceptionObject

source§

impl PyLayout<PyException> for PyBaseExceptionObject

source§

impl PyLayout<PyFileExistsError> for PyBaseExceptionObject

source§

impl PyLayout<PyFileNotFoundError> for PyBaseExceptionObject

source§

impl PyLayout<PyFloatingPointError> for PyBaseExceptionObject

source§

impl PyLayout<PyFutureWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyGeneratorExit> for PyBaseExceptionObject

source§

impl PyLayout<PyIOError> for PyBaseExceptionObject

source§

impl PyLayout<PyImportError> for PyBaseExceptionObject

source§

impl PyLayout<PyImportWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyIndexError> for PyBaseExceptionObject

source§

impl PyLayout<PyInterruptedError> for PyBaseExceptionObject

source§

impl PyLayout<PyIsADirectoryError> for PyBaseExceptionObject

source§

impl PyLayout<PyKeyError> for PyBaseExceptionObject

source§

impl PyLayout<PyKeyboardInterrupt> for PyBaseExceptionObject

source§

impl PyLayout<PyLookupError> for PyBaseExceptionObject

source§

impl PyLayout<PyMemoryError> for PyBaseExceptionObject

source§

impl PyLayout<PyModuleNotFoundError> for PyBaseExceptionObject

source§

impl PyLayout<PyNameError> for PyBaseExceptionObject

source§

impl PyLayout<PyNotADirectoryError> for PyBaseExceptionObject

source§

impl PyLayout<PyNotImplementedError> for PyBaseExceptionObject

source§

impl PyLayout<PyOverflowError> for PyBaseExceptionObject

source§

impl PyLayout<PyPendingDeprecationWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyPermissionError> for PyBaseExceptionObject

source§

impl PyLayout<PyProcessLookupError> for PyBaseExceptionObject

source§

impl PyLayout<PyRecursionError> for PyBaseExceptionObject

source§

impl PyLayout<PyReferenceError> for PyBaseExceptionObject

source§

impl PyLayout<PyResourceWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyRuntimeError> for PyBaseExceptionObject

source§

impl PyLayout<PyRuntimeWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyStopAsyncIteration> for PyBaseExceptionObject

source§

impl PyLayout<PySyntaxWarning> for PyBaseExceptionObject

source§

impl PyLayout<PySystemError> for PyBaseExceptionObject

source§

impl PyLayout<PyTimeoutError> for PyBaseExceptionObject

source§

impl PyLayout<PyTypeError> for PyBaseExceptionObject

source§

impl PyLayout<PyUnboundLocalError> for PyBaseExceptionObject

source§

impl PyLayout<PyUnicodeDecodeError> for PyBaseExceptionObject

source§

impl PyLayout<PyUnicodeEncodeError> for PyBaseExceptionObject

source§

impl PyLayout<PyUnicodeTranslateError> for PyBaseExceptionObject

source§

impl PyLayout<PyUnicodeWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyUserWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyValueError> for PyBaseExceptionObject

source§

impl PyLayout<PyWarning> for PyBaseExceptionObject

source§

impl PyLayout<PyZeroDivisionError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyArithmeticError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyAssertionError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyAttributeError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyBaseException> for PyBaseExceptionObject

source§

impl PySizedLayout<PyBlockingIOError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyBrokenPipeError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyBufferError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyBytesWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyChildProcessError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyConnectionAbortedError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyConnectionError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyConnectionRefusedError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyConnectionResetError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyDeprecationWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyEOFError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyEnvironmentError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyException> for PyBaseExceptionObject

source§

impl PySizedLayout<PyFileExistsError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyFileNotFoundError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyFloatingPointError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyFutureWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyGeneratorExit> for PyBaseExceptionObject

source§

impl PySizedLayout<PyIOError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyImportError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyImportWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyIndexError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyInterruptedError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyIsADirectoryError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyKeyError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyKeyboardInterrupt> for PyBaseExceptionObject

source§

impl PySizedLayout<PyLookupError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyMemoryError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyModuleNotFoundError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyNameError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyNotADirectoryError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyNotImplementedError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyOverflowError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyPendingDeprecationWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyPermissionError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyProcessLookupError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyRecursionError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyReferenceError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyResourceWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyRuntimeError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyRuntimeWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyStopAsyncIteration> for PyBaseExceptionObject

source§

impl PySizedLayout<PySyntaxWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PySystemError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyTimeoutError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyTypeError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyUnboundLocalError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyUnicodeDecodeError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyUnicodeEncodeError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyUnicodeTranslateError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyUnicodeWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyUserWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyValueError> for PyBaseExceptionObject

source§

impl PySizedLayout<PyWarning> for PyBaseExceptionObject

source§

impl PySizedLayout<PyZeroDivisionError> for PyBaseExceptionObject

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.