Enum flume::SendTimeoutError
source ·
[−]pub enum SendTimeoutError<T> {
Timeout(T),
Disconnected(T),
}
Expand description
An error that may be emitted when sending a value into a channel on a sender with a timeout when the send operation times out or all receivers are dropped.
Variants
Timeout(T)
A timeout occurred when attempting to send the message.
Disconnected(T)
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 SendTimeoutError<T> where
T: RefUnwindSafe,
impl<T> Send for SendTimeoutError<T> where
T: Send,
impl<T> Sync for SendTimeoutError<T> where
T: Sync,
impl<T> Unpin for SendTimeoutError<T> where
T: Unpin,
impl<T> UnwindSafe for SendTimeoutError<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more