Struct spmc::SendError1.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> Clone for SendError<T> where
    T: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

impl<T> Eq for SendError<T> where
    T: Eq
[src]

impl<T> PartialEq<SendError<T>> for SendError<T> where
    T: PartialEq<T>, 
[src]

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

impl<T> Copy for SendError<T> where
    T: Copy
[src]