# Module futures::executor [−] [src]

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

NotifyHandle | A `NotifyHandle` is the core value through which notifications are routed in the `futures` crate.
Run | Units of work submitted to an `Executor`, currently only created internally.
Spawn | Representation of a spawned future/stream.

## Traits

Executor | A trait representing requests to poll futures.
Notify | A trait which represents a sink of notifications that a future is ready to make progress.
Unpark | [ Deprecated ] A trait which represents a sink of notifications that a future is ready to make progress.
UnsafeNotify | An unsafe trait for implementing custom forms of memory management behind a `Task`.

## Functions

spawn | Spawns a future or stream, returning it and the new task responsible for running it to completion.
with_notify | Sets the `NotifyHandle` of the current task for the duration of the provided closure.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)