Enum flume::TryRecvError [−][src]
pub enum TryRecvError { Empty, Disconnected, }
Expand description
An error that may be emitted when attempting to fetch a value on a receiver when there are no
messages in the channel. If there are no messages in the channel and all senders are dropped,
then TryRecvError::Disconnected
will be returned.
Variants
The channel was empty when the receive was attempted.
All senders were dropped and no messages are waiting in the channel, so no further messages can be received.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TryRecvError
impl Send for TryRecvError
impl Sync for TryRecvError
impl Unpin for TryRecvError
impl UnwindSafe for TryRecvError
Blanket Implementations
Mutably borrows from an owned value. Read more