Struct futures_channel::mpsc::TrySendError [−][src]
pub struct TrySendError<T> { /* fields omitted */ }
Expand description
The error type returned from try_send
.
Implementations
Returns true
if this error is a result of the receiver being dropped.
Returns the message that was attempted to be sent but failed.
Drops the message and converts into a SendError
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for TrySendError<T> where
T: RefUnwindSafe,
impl<T> Send for TrySendError<T> where
T: Send,
impl<T> Sync for TrySendError<T> where
T: Sync,
impl<T> Unpin for TrySendError<T> where
T: Unpin,
impl<T> UnwindSafe for TrySendError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more