Struct pyo3_asyncio::err::RustPanic [−][src]
#[repr(transparent)]pub struct RustPanic(_);
Implementations
Trait Implementations
type AsRefTarget = Self
type AsRefTarget = Self
Utility type to make Py::as_ref work
PyTypeObject instance for this type.
Checks if object
is an instance of this type or a subclass of this type.
Checks if object
is an instance of this type.
Auto Trait Implementations
impl !RefUnwindSafe for RustPanic
impl UnwindSafe for RustPanic
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert from an arbitrary PyObject
. Read more
Convert from an arbitrary borrowed PyObject
. Read more
Convert from an arbitrary PyObject
or panic. Read more
Convert from an arbitrary PyObject
or panic. Read more
Convert from an arbitrary PyObject
. Read more
Convert from an arbitrary borrowed PyObject
. Read more
Convert from an arbitrary borrowed PyObject
. Read more
Cast from a concrete Python object type to PyObject.
pub fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>> where
V: Into<&'v PyAny>,
pub fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>> where
V: Into<&'v PyAny>,
Cast from a concrete Python object type to PyObject. With exact type check.
Returns the safe abstraction over the type object.