# Module core::task[−][src]

🔬 This is a nightly-only experimental API. (`futures_api` #50547)

futures in libcore are unstable

Types and Traits for working with asynchronous tasks.

## Structs

Context | [ Experimental ] Information about the currently-running task.
LocalWaker | [ Experimental ] A `LocalWaker` is a handle for waking up a task by notifying its executor that it is ready to be run.
SpawnErrorKind | [ Experimental ] Provides the reason that an executor was unable to spawn.
SpawnLocalObjError | [ Experimental ] The result of a failed spawn
SpawnObjError | [ Experimental ] The result of a failed spawn
Waker | [ Experimental ] A `Waker` is a handle for waking up a task by notifying its executor that it is ready to be run.

## Enums

Poll | [ Experimental ] Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.

## Traits

Executor | [ Experimental ] A task executor.
UnsafeWake | [ Experimental ] An unsafe trait for implementing custom memory management for a `Waker` or `LocalWaker`.

# 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`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)