std::sync::mpsc::SendError - Rust
Description: API documentation for the Rust `SendError` struct in crate `std`.
Keywords: rust, rustlang, rust-lang, SendError

# Struct std::sync::mpsc::SendError 1.0.0 [−] [src]

    pub struct SendError<T>(pub T);

An error returned from the `Sender::send` or `SyncSender::send` function on channels.

A send operation can only fail if the receiving end of a channel is disconnected, implying that the data could never be received. The error contains the data being sent as a payload so it can be recovered.

## Trait Implementations

### `impl<T: PartialEq> PartialEq for SendError<T>`
[src]

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

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

#### `fn ne(&self, __arg_0: &SendError<T>) -> bool`
[src]

This method tests for `!=`.

### `impl<T: Eq> Eq for SendError<T>`
[src]

### `impl<T: Clone> Clone for SendError<T>`
[src]

#### `fn clone(&self) -> SendError<T>`
[src]

Returns a copy of the value. Read more

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

Performs copy-assignment from `source`. Read more

### `impl<T: Copy> Copy for SendError<T>`
[src]

### `impl<T> Debug for SendError<T>`
[src]

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

Formats the value using the given formatter.

### `impl<T> Display for SendError<T>`
[src]

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

Formats the value using the given formatter. Read more

### `impl<T: Send> Error for SendError<T>`
[src]

#### `fn description(&self) -> &str`
[src]

A short description of the error. Read more

#### `fn cause(&self) -> Option<&Error>`
[src]

The lower-level cause of this error, if any. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand 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`)