Trait pyo3_asyncio::generic::Runtime
source · [−]pub trait Runtime: Send + 'static {
type JoinError: JoinError + Send;
type JoinHandle: Future<Output = Result<(), Self::JoinError>> + Send;
fn spawn<F>(fut: F) -> Self::JoinHandle
where
F: Future<Output = ()> + Send + 'static;
}
Expand description
Generic Rust async/await runtime