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]
impl SendError
pub fn is_full(&self) -> bool
[src]
pub fn is_full(&self) -> bool
Returns true if this error is a result of the channel being full.
pub fn is_disconnected(&self) -> bool
[src]
pub fn is_disconnected(&self) -> bool
Returns true if this error is a result of the receiver being dropped.
Trait Implementations
impl Debug for SendError
[src]
impl Debug for SendError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for SendError
[src]
impl Clone for SendError
fn clone(&self) -> SendError
[src]
fn clone(&self) -> SendError
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 PartialEq<SendError> for SendError
[src]
impl PartialEq<SendError> for SendError
fn eq(&self, other: &SendError) -> bool
[src]
fn eq(&self, other: &SendError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SendError) -> bool
[src]
fn ne(&self, other: &SendError) -> bool
This method tests for !=
.
impl Eq for SendError
[src]
impl Eq for SendError
impl Error for SendError
[src]
impl Error for SendError
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 Display for SendError
[src]
impl Display for SendError