# Enum futures::future::ExecuteErrorKind [−] [src]

    pub enum ExecuteErrorKind {
        Shutdown,
        NoCapacity,
        // some variants omitted
    }

Kinds of errors that can be returned from the `Execute::spawn` function.

Executors which may not always be able to accept a future may return one of these errors, indicating why it was unable to spawn a future.

## Variants

`Shutdown`

This executor has shut down and will no longer accept new futures to spawn.

`NoCapacity`

This executor has no more capacity to run more futures. Other futures need to finish before this executor can accept another.

## Trait Implementations

### `impl Debug for ExecuteErrorKind`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl Copy for ExecuteErrorKind`
[src]

### `impl Clone for ExecuteErrorKind`
[src]

#### `fn clone(&self) -> ExecuteErrorKind`
[src]

Returns a copy of the value. Read more

#### `fn clone_from(&mut self, source: &Self)`
1.0.0
[src]

Performs copy-assignment from `source`. Read more

### `impl PartialEq for ExecuteErrorKind`
[src]

#### `fn eq(&self, __arg_0: &ExecuteErrorKind) -> bool`
[src]

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

#### `fn ne(&self, other: &Rhs) -> bool`
1.0.0
[src]

This method tests for `!=`.

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