Struct puff_rs::python::async_python::AsyncReturn   
source · pub struct AsyncReturn(_);Expand description
Python return
Implementations
Trait Implementations
sourceimpl IntoPy<Py<PyAny>> for AsyncReturn
 
impl IntoPy<Py<PyAny>> for AsyncReturn
sourceimpl PyClass for AsyncReturn
 
impl PyClass for AsyncReturn
type Dict = PyClassDummySlot
type Dict = PyClassDummySlot
Specify this class has 
#[pyclass(dict)] or not.type WeakRef = PyClassDummySlot
type WeakRef = PyClassDummySlot
Specify this class has 
#[pyclass(weakref)] or not.type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is 
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict. Read moresourceimpl PyClassImpl for AsyncReturn
 
impl PyClassImpl for AsyncReturn
sourceconst IS_BASETYPE: bool = false
 
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
sourceconst IS_SUBCLASS: bool = false
 
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
sourceconst IS_MAPPING: bool = false
 
const IS_MAPPING: bool = false
#[pyclass(mapping)]
type Layout = PyCell<AsyncReturn>
type Layout = PyCell<AsyncReturn>
Layout
type ThreadChecker = ThreadCheckerStub<AsyncReturn>
type ThreadChecker = ThreadCheckerStub<AsyncReturn>
This handles following two situations: Read more
fn for_all_items(visitor: &mut dyn FnMut(&PyClassItems))
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
sourceimpl PyMethods<AsyncReturn> for PyClassImplCollector<AsyncReturn>
 
impl PyMethods<AsyncReturn> for PyClassImplCollector<AsyncReturn>
fn py_methods(self) -> &'static PyClassItems
sourceimpl PyTypeInfo for AsyncReturn
 
impl PyTypeInfo for AsyncReturn
type AsRefTarget = PyCell<AsyncReturn>
type AsRefTarget = PyCell<AsyncReturn>
Utility type to make Py::as_ref work.
sourcefn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
 
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
PyTypeObject instance for this type.
sourcefn is_type_of(object: &PyAny) -> bool
 
fn is_type_of(object: &PyAny) -> bool
Checks if 
object is an instance of this type or a subclass of this type.sourcefn is_exact_type_of(object: &PyAny) -> bool
 
fn is_exact_type_of(object: &PyAny) -> bool
Checks if 
object is an instance of this type.Auto Trait Implementations
impl !RefUnwindSafe for AsyncReturn
impl Send for AsyncReturn
impl Sync for AsyncReturn
impl Unpin for AsyncReturn
impl !UnwindSafe for AsyncReturn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> PyTypeObject for Twhere
    T: PyTypeInfo,
 
impl<T> PyTypeObject for Twhere
    T: PyTypeInfo,
sourcefn type_object(py: Python<'_>) -> &PyType
 
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.