Module single

Module single 

Source

Structs§

SingleThreadIterator
A stream that wraps up the stream with the execution that drives it.
SingleThreadRuntime
A runtime that drives all work on the current thread.

Functions§

block_on
Runs a future to completion on the current thread until it completes.
block_on_stream
Returns an iterator wrapper around a stream, blocking the current thread for each item.