Struct future_utils::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) -> T
Returns the message that was attempted to be sent but failed.
Trait Implementations
impl<T> Debug for SendError<T>
[src]
impl<T> Debug for SendError<T>
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<T> Error for SendError<T> where
T: Any,
[src]
impl<T> Error for SendError<T> where
T: Any,
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl<T> Clone for SendError<T> where
T: Clone,
[src]
impl<T> Clone for SendError<T> where
T: Clone,
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<SendError<T>> for SendError<T> where
T: PartialEq<T>,
[src]
impl<T> PartialEq<SendError<T>> for SendError<T> where
T: PartialEq<T>,
fn eq(&self, other: &SendError<T>) -> bool
[src]
fn eq(&self, other: &SendError<T>) -> bool
This 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>) -> bool
This method tests for !=
.
impl<T> Eq for SendError<T> where
T: Eq,
[src]
impl<T> Eq for SendError<T> where
T: Eq,
impl<T> Display for SendError<T>
[src]
impl<T> Display for SendError<T>