# Trait futures::executor::Unpark [−] [src]

    pub trait Unpark: Send + Sync {
        fn unpark(&self);
    }

Deprecated

: recommended to use `Notify` instead

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

This trait is provided as an argument to the `Spawn::poll_future` and `Spawn::poll_stream` functions. It's transitively used as part of the `Task::unpark` method to internally deliver notifications of readiness of a future to move forward.

## Required Methods

### `fn unpark(&self)`

Deprecated

: recommended to use `Notify` instead

Indicates that an associated future and/or task are ready to make progress.

Typically this means that the receiver of the notification should arrange for the future to get poll'd in a prompt fashion.

## Implementors

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