[−][src]Trait pyo3::class::pyasync::PyAsyncProtocol
Python Async/Await support interface.
Each method in this trait corresponds to Python async/await implementation.
Provided methods
pub fn __await__(slf: Self::Receiver) -> Self::Result where
Self: PyAsyncAwaitProtocol<'p>,
[src]
Self: PyAsyncAwaitProtocol<'p>,
pub fn __aiter__(slf: Self::Receiver) -> Self::Result where
Self: PyAsyncAiterProtocol<'p>,
[src]
Self: PyAsyncAiterProtocol<'p>,
pub fn __anext__(slf: Self::Receiver) -> Self::Result where
Self: PyAsyncAnextProtocol<'p>,
[src]
Self: PyAsyncAnextProtocol<'p>,
pub fn __aenter__(&'p mut self) -> Self::Result where
Self: PyAsyncAenterProtocol<'p>,
[src]
Self: PyAsyncAenterProtocol<'p>,
pub fn __aexit__(
&'p mut self,
exc_type: Option<Self::ExcType>,
exc_value: Option<Self::ExcValue>,
traceback: Option<Self::Traceback>
) -> Self::Result where
Self: PyAsyncAexitProtocol<'p>,
[src]
&'p mut self,
exc_type: Option<Self::ExcType>,
exc_value: Option<Self::ExcValue>,
traceback: Option<Self::Traceback>
) -> Self::Result where
Self: PyAsyncAexitProtocol<'p>,