Module local

Source
Expand description

A local executor, for running a single task with IO on the current thread.

Structs§

LocalDriver
An IO driver for single-task use on a single thread.

Functions§

block_on
Blocks the current thread until the given future completes.
block_with_io
Polls a future that needs to issue IO until it completes.