pub struct CancelledError(/* private fields */);
Expand description
A Rust type representing an exception defined in Python code.
This type was created by the pyo3::import_exception!
macro - see its documentation
for more information.
Implementations§
Trait Implementations§
Source§impl AsPyPointer for CancelledError
impl AsPyPointer for CancelledError
Source§impl AsRef<PyAny> for CancelledError
impl AsRef<PyAny> for CancelledError
Source§impl Deref for CancelledError
impl Deref for CancelledError
Source§impl PyTypeInfo for CancelledError
impl PyTypeInfo for CancelledError
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl DerefToPyAny for CancelledError
impl ToPyErr for CancelledError
Auto Trait Implementations§
impl !Freeze for CancelledError
impl !RefUnwindSafe for CancelledError
impl !Send for CancelledError
impl !Sync for CancelledError
impl Unpin for CancelledError
impl UnwindSafe for CancelledError
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