Enum flume::TrySendError [−][src]
pub enum TrySendError<T> {
Full(T),
Disconnected(T),
}
Expand description
An error that may be emitted when attempting to send a value into a channel on a sender when the channel is full or all receivers are dropped.
Variants
The channel the message is sent on has a finite capacity and was full when the send was attempted.
All channel receivers were dropped and so the message has nobody to receive it.
Implementations
Consume the error, yielding the message that failed to send.
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