Struct futures::sync::mpsc::SendError [−][src]
pub struct SendError<T>(_);
Error type for sending, used when the receiving end of a channel is dropped
Methods
impl<T> SendError<T>[src]
impl<T> SendError<T>pub fn into_inner(self) -> T[src]
pub fn into_inner(self) -> TReturns the message that was attempted to be sent but failed.
Trait Implementations
impl<T: Clone> Clone for SendError<T>[src]
impl<T: Clone> Clone for SendError<T>fn clone(&self) -> SendError<T>[src]
fn clone(&self) -> SendError<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: PartialEq> PartialEq for SendError<T>[src]
impl<T: PartialEq> PartialEq for SendError<T>fn eq(&self, other: &SendError<T>) -> bool[src]
fn eq(&self, other: &SendError<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SendError<T>) -> bool[src]
fn ne(&self, other: &SendError<T>) -> boolThis method tests for !=.
impl<T: Eq> Eq for SendError<T>[src]
impl<T: Eq> Eq for SendError<T>impl<T> Debug for SendError<T>[src]
impl<T> Debug for SendError<T>fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T> Display for SendError<T>[src]
impl<T> Display for SendError<T>fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Any> Error for SendError<T>[src]
impl<T: Any> Error for SendError<T>