#[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
impl Debug for PyBaseExceptionObject
impl PyLayout<PyArithmeticError> for PyBaseExceptionObject
impl PyLayout<PyAssertionError> for PyBaseExceptionObject
impl PyLayout<PyAttributeError> for PyBaseExceptionObject
impl PyLayout<PyBaseException> for PyBaseExceptionObject
impl PyLayout<PyBlockingIOError> for PyBaseExceptionObject
impl PyLayout<PyBrokenPipeError> for PyBaseExceptionObject
impl PyLayout<PyBufferError> for PyBaseExceptionObject
impl PyLayout<PyBytesWarning> for PyBaseExceptionObject
impl PyLayout<PyChildProcessError> for PyBaseExceptionObject
impl PyLayout<PyConnectionAbortedError> for PyBaseExceptionObject
impl PyLayout<PyConnectionError> for PyBaseExceptionObject
impl PyLayout<PyConnectionRefusedError> for PyBaseExceptionObject
impl PyLayout<PyConnectionResetError> for PyBaseExceptionObject
impl PyLayout<PyDeprecationWarning> for PyBaseExceptionObject
impl PyLayout<PyEOFError> for PyBaseExceptionObject
impl PyLayout<PyEnvironmentError> for PyBaseExceptionObject
impl PyLayout<PyException> for PyBaseExceptionObject
impl PyLayout<PyFileExistsError> for PyBaseExceptionObject
impl PyLayout<PyFileNotFoundError> for PyBaseExceptionObject
impl PyLayout<PyFloatingPointError> for PyBaseExceptionObject
impl PyLayout<PyFutureWarning> for PyBaseExceptionObject
impl PyLayout<PyGeneratorExit> for PyBaseExceptionObject
impl PyLayout<PyIOError> for PyBaseExceptionObject
impl PyLayout<PyImportError> for PyBaseExceptionObject
impl PyLayout<PyImportWarning> for PyBaseExceptionObject
impl PyLayout<PyIndexError> for PyBaseExceptionObject
impl PyLayout<PyInterruptedError> for PyBaseExceptionObject
impl PyLayout<PyIsADirectoryError> for PyBaseExceptionObject
impl PyLayout<PyKeyError> for PyBaseExceptionObject
impl PyLayout<PyKeyboardInterrupt> for PyBaseExceptionObject
impl PyLayout<PyLookupError> for PyBaseExceptionObject
impl PyLayout<PyMemoryError> for PyBaseExceptionObject
impl PyLayout<PyModuleNotFoundError> for PyBaseExceptionObject
impl PyLayout<PyNameError> for PyBaseExceptionObject
impl PyLayout<PyNotADirectoryError> for PyBaseExceptionObject
impl PyLayout<PyNotImplementedError> for PyBaseExceptionObject
impl PyLayout<PyOverflowError> for PyBaseExceptionObject
impl PyLayout<PyPendingDeprecationWarning> for PyBaseExceptionObject
impl PyLayout<PyPermissionError> for PyBaseExceptionObject
impl PyLayout<PyProcessLookupError> for PyBaseExceptionObject
impl PyLayout<PyRecursionError> for PyBaseExceptionObject
impl PyLayout<PyReferenceError> for PyBaseExceptionObject
impl PyLayout<PyResourceWarning> for PyBaseExceptionObject
impl PyLayout<PyRuntimeError> for PyBaseExceptionObject
impl PyLayout<PyRuntimeWarning> for PyBaseExceptionObject
impl PyLayout<PyStopAsyncIteration> for PyBaseExceptionObject
impl PyLayout<PySyntaxWarning> for PyBaseExceptionObject
impl PyLayout<PySystemError> for PyBaseExceptionObject
impl PyLayout<PyTimeoutError> for PyBaseExceptionObject
impl PyLayout<PyTypeError> for PyBaseExceptionObject
impl PyLayout<PyUnboundLocalError> for PyBaseExceptionObject
impl PyLayout<PyUnicodeDecodeError> for PyBaseExceptionObject
impl PyLayout<PyUnicodeEncodeError> for PyBaseExceptionObject
impl PyLayout<PyUnicodeTranslateError> for PyBaseExceptionObject
impl PyLayout<PyUnicodeWarning> for PyBaseExceptionObject
impl PyLayout<PyUserWarning> for PyBaseExceptionObject
impl PyLayout<PyValueError> for PyBaseExceptionObject
impl PyLayout<PyWarning> for PyBaseExceptionObject
impl PyLayout<PyZeroDivisionError> for PyBaseExceptionObject
impl PySizedLayout<PyArithmeticError> for PyBaseExceptionObject
impl PySizedLayout<PyAssertionError> for PyBaseExceptionObject
impl PySizedLayout<PyAttributeError> for PyBaseExceptionObject
impl PySizedLayout<PyBaseException> for PyBaseExceptionObject
impl PySizedLayout<PyBlockingIOError> for PyBaseExceptionObject
impl PySizedLayout<PyBrokenPipeError> for PyBaseExceptionObject
impl PySizedLayout<PyBufferError> for PyBaseExceptionObject
impl PySizedLayout<PyBytesWarning> for PyBaseExceptionObject
impl PySizedLayout<PyChildProcessError> for PyBaseExceptionObject
impl PySizedLayout<PyConnectionAbortedError> for PyBaseExceptionObject
impl PySizedLayout<PyConnectionError> for PyBaseExceptionObject
impl PySizedLayout<PyConnectionRefusedError> for PyBaseExceptionObject
impl PySizedLayout<PyConnectionResetError> for PyBaseExceptionObject
impl PySizedLayout<PyDeprecationWarning> for PyBaseExceptionObject
impl PySizedLayout<PyEOFError> for PyBaseExceptionObject
impl PySizedLayout<PyEnvironmentError> for PyBaseExceptionObject
impl PySizedLayout<PyException> for PyBaseExceptionObject
impl PySizedLayout<PyFileExistsError> for PyBaseExceptionObject
impl PySizedLayout<PyFileNotFoundError> for PyBaseExceptionObject
impl PySizedLayout<PyFloatingPointError> for PyBaseExceptionObject
impl PySizedLayout<PyFutureWarning> for PyBaseExceptionObject
impl PySizedLayout<PyGeneratorExit> for PyBaseExceptionObject
impl PySizedLayout<PyIOError> for PyBaseExceptionObject
impl PySizedLayout<PyImportError> for PyBaseExceptionObject
impl PySizedLayout<PyImportWarning> for PyBaseExceptionObject
impl PySizedLayout<PyIndexError> for PyBaseExceptionObject
impl PySizedLayout<PyInterruptedError> for PyBaseExceptionObject
impl PySizedLayout<PyIsADirectoryError> for PyBaseExceptionObject
impl PySizedLayout<PyKeyError> for PyBaseExceptionObject
impl PySizedLayout<PyKeyboardInterrupt> for PyBaseExceptionObject
impl PySizedLayout<PyLookupError> for PyBaseExceptionObject
impl PySizedLayout<PyMemoryError> for PyBaseExceptionObject
impl PySizedLayout<PyModuleNotFoundError> for PyBaseExceptionObject
impl PySizedLayout<PyNameError> for PyBaseExceptionObject
impl PySizedLayout<PyNotADirectoryError> for PyBaseExceptionObject
impl PySizedLayout<PyNotImplementedError> for PyBaseExceptionObject
impl PySizedLayout<PyOverflowError> for PyBaseExceptionObject
impl PySizedLayout<PyPendingDeprecationWarning> for PyBaseExceptionObject
impl PySizedLayout<PyPermissionError> for PyBaseExceptionObject
impl PySizedLayout<PyProcessLookupError> for PyBaseExceptionObject
impl PySizedLayout<PyRecursionError> for PyBaseExceptionObject
impl PySizedLayout<PyReferenceError> for PyBaseExceptionObject
impl PySizedLayout<PyResourceWarning> for PyBaseExceptionObject
impl PySizedLayout<PyRuntimeError> for PyBaseExceptionObject
impl PySizedLayout<PyRuntimeWarning> for PyBaseExceptionObject
impl PySizedLayout<PyStopAsyncIteration> for PyBaseExceptionObject
impl PySizedLayout<PySyntaxWarning> for PyBaseExceptionObject
impl PySizedLayout<PySystemError> for PyBaseExceptionObject
impl PySizedLayout<PyTimeoutError> for PyBaseExceptionObject
impl PySizedLayout<PyTypeError> for PyBaseExceptionObject
impl PySizedLayout<PyUnboundLocalError> for PyBaseExceptionObject
impl PySizedLayout<PyUnicodeDecodeError> for PyBaseExceptionObject
impl PySizedLayout<PyUnicodeEncodeError> for PyBaseExceptionObject
impl PySizedLayout<PyUnicodeTranslateError> for PyBaseExceptionObject
impl PySizedLayout<PyUnicodeWarning> for PyBaseExceptionObject
impl PySizedLayout<PyUserWarning> for PyBaseExceptionObject
impl PySizedLayout<PyValueError> for PyBaseExceptionObject
impl PySizedLayout<PyWarning> for PyBaseExceptionObject
impl PySizedLayout<PyZeroDivisionError> for PyBaseExceptionObject
Auto Trait Implementations§
impl Freeze for PyBaseExceptionObject
impl RefUnwindSafe for PyBaseExceptionObject
impl !Send for PyBaseExceptionObject
impl !Sync for PyBaseExceptionObject
impl Unpin for PyBaseExceptionObject
impl UnwindSafe for PyBaseExceptionObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more