Expand description

Executors

This module contains tools for managing the raw execution of futures, which is needed when building executors (places where futures can run).

More information about executors can be found online at tokio.rs.

Structs

A NotifyHandle is the core value through which notifications are routed in the futures crate.

Representation of a spawned future/stream.

Traits

A trait which represents a sink of notifications that a future is ready to make progress.

An unsafe trait for implementing custom forms of memory management behind a Task.

Functions

Spawns a future or stream, returning it and the new task responsible for running it to completion.

Sets the NotifyHandle of the current task for the duration of the provided closure.