[][src]Module libremexre::futures

Utilities for use with futures and tokio.

Structs

SelectSet

Allows selecting over several streams, keyed by identifiers. Polls in a round-robin fashion. Streams are dropped when they yield Ok(Ready(None)).

Functions

blocking

A higher-level version of tokio_threadpool::blocking.

run_and_return

Runs a future, then returns it.

send_to_sink

Returns a future that sends a value to a sink, but does not flush it.