Trait pyo3_asyncio::generic::Runtime [−][src]
Generic Rust async/await runtime
Associated Types
type JoinError: JoinError + Send
[src]
The error returned by a JoinHandle after being awaited
type JoinHandle: Future<Output = Result<(), Self::JoinError>> + Send
[src]
A future that completes with the result of the spawned task
Required methods
fn spawn<F>(fut: F) -> Self::JoinHandle where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,
Spawn a future onto this runtime's event loop