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 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 Debug for SendError
[src]
impl Debug for SendError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SendError
[src]
impl PartialEq 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 Display for SendError
[src]
impl Display for SendError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for SendError
[src]
impl Error for SendError