Struct thread_pool::SendError 1.0.0
[−]
[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> PartialEq<SendError<T>> for SendError<T> where T: PartialEq<T>[src]
fn eq(&self, __arg_0: &SendError<T>) -> bool
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
This method tests for !=.
impl<T> Debug for SendError<T>[src]
impl<T> Clone for SendError<T> where T: Clone[src]
fn clone(&self) -> SendError<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more