pub struct ConnectionClosedError(/* private fields */);Implementations§
Trait Implementations§
impl DerefToPyAny for ConnectionClosedError
Source§impl PyTypeInfo for ConnectionClosedError
impl PyTypeInfo for ConnectionClosedError
Source§const NAME: &'static str = "ConnectionClosedError"
const NAME: &'static str = "ConnectionClosedError"
👎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 ConnectionClosedError
Auto Trait Implementations§
impl !Freeze for ConnectionClosedError
impl !RefUnwindSafe for ConnectionClosedError
impl !Send for ConnectionClosedError
impl !Sync for ConnectionClosedError
impl Unpin for ConnectionClosedError
impl UnsafeUnpin for ConnectionClosedError
impl UnwindSafe for ConnectionClosedError
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