Expand description
Runtime
to wrap over tokio current-thread Runtime
and tokio-uring Runtime
.
Enums§
- Runtime
- An adapter enum to support both tokio current-thread Runtime and tokio-uring Runtime.
Functions§
- block_
on - Run a future to completion with the default
Runtime
object. - spawn
- Spawns a new asynchronous task with the defualt
Runtime
, returning aJoinHandle
for it. - start
- Start an async runtime.
- with_
runtime - Run a callback with the default
Runtime
object.