Struct futures::channel::mpsc::SendError
[−]
[src]
pub struct SendError { /* fields omitted */ }
The error type for Sender
s used as Sink
s.
Methods
impl SendError
[src]
pub fn is_full(&self) -> bool
[src]
Returns true if this error is a result of the channel being full.
pub fn is_disconnected(&self) -> bool
[src]
Returns true if this error is a result of the receiver being dropped.
Trait Implementations
impl PartialEq<SendError> for SendError
[src]
fn eq(&self, __arg_0: &SendError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SendError) -> bool
[src]
This method tests for !=
.
impl Error for SendError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Eq for SendError
[src]
impl Display for SendError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Debug for SendError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more