Struct std::sync::mpsc::SendError [] [src]

pub struct SendError<T>(pub T);

An error returned from the 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> Debug for SendError<T>

fn fmt(&self, f: &mut Formatter) -> Result

impl<T> Display for SendError<T>

fn fmt(&self, f: &mut Formatter) -> Result

impl<T: Send + Reflect> Error for SendError<T>

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl<T: Copy> Copy for SendError<T>

impl<T: Clone> Clone for SendError<T>

fn clone(&self) -> SendError<T>

fn clone_from(&mut self, source: &Self)

impl<T: Eq> Eq for SendError<T>

impl<T: PartialEq> PartialEq for SendError<T>

fn eq(&self, __arg_0: &SendError<T>) -> bool

fn ne(&self, __arg_0: &SendError<T>) -> bool