Struct futures_channel::mpsc::SendError [−][src]
pub struct SendError { /* fields omitted */ }The error type for Senders used as Sinks.
Methods
impl SendError[src]
impl SendErrorpub fn is_full(&self) -> bool[src]
pub fn is_full(&self) -> boolReturns true if this error is a result of the channel being full.
pub fn is_disconnected(&self) -> bool[src]
pub fn is_disconnected(&self) -> boolReturns true if this error is a result of the receiver being dropped.
Trait Implementations
impl Clone for SendError[src]
impl Clone for SendErrorfn clone(&self) -> SendError[src]
fn clone(&self) -> SendErrorReturns 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 SendErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for SendError[src]
impl PartialEq for SendErrorfn eq(&self, other: &SendError) -> bool[src]
fn eq(&self, other: &SendError) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for SendError[src]
impl Eq for SendErrorimpl Display for SendError[src]
impl Display for SendErrorfn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for SendError[src]
impl Error for SendError