pub struct ShutdownError(/* private fields */);Implementations§
Source§impl ShutdownError
impl ShutdownError
Trait Implementations§
impl DerefToPyAny for ShutdownError
Source§impl PyTypeInfo for ShutdownError
impl PyTypeInfo for ShutdownError
Source§const NAME: &'static str = "ShutdownError"
const NAME: &'static str = "ShutdownError"
👎Deprecated since 0.28.0:
prefer using ::type_object(py).name() to get the correct runtime value
Class name.
Source§const MODULE: Option<&'static str>
const MODULE: Option<&'static str>
👎Deprecated since 0.28.0:
prefer using ::type_object(py).module() to get the correct runtime value
Module name, if any.
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(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl ToPyErr for ShutdownError
Auto Trait Implementations§
impl !Freeze for ShutdownError
impl !RefUnwindSafe for ShutdownError
impl !Send for ShutdownError
impl !Sync for ShutdownError
impl Unpin for ShutdownError
impl UnsafeUnpin for ShutdownError
impl UnwindSafe for ShutdownError
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