pub struct InvalidStateError(/* 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 InvalidStateError
impl AsPyPointer for InvalidStateError
Source§impl AsRef<PyAny> for InvalidStateError
impl AsRef<PyAny> for InvalidStateError
Source§impl Deref for InvalidStateError
impl Deref for InvalidStateError
Source§impl PyTypeInfo for InvalidStateError
impl PyTypeInfo for InvalidStateError
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 InvalidStateError
impl ToPyErr for InvalidStateError
Auto Trait Implementations§
impl !Freeze for InvalidStateError
impl !RefUnwindSafe for InvalidStateError
impl !Send for InvalidStateError
impl !Sync for InvalidStateError
impl Unpin for InvalidStateError
impl UnwindSafe for InvalidStateError
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