Skip to main content

Module io

Module io 

Source

Constants§

IO_RUNTIME
Tokio runtime Handle for doing network (I/O) operations, see spawn_io

Functions§

register_io_runtime
Registers handle as the IO runtime for this thread
spawn_io
Runs fut on the runtime registered by register_io_runtime if any, otherwise awaits on the current thread