Enum flume::RecvTimeoutError 
source · pub enum RecvTimeoutError {
    Timeout,
    Disconnected,
}Expand description
An error that may be emitted when attempting to wait for a value on a receiver with a timeout when the receive operation times out or all senders are dropped and there are no values left in the channel.
Variants§
Timeout
A timeout occurred when attempting to receive a message.
Disconnected
All senders were dropped and no messages are waiting in the channel, so no further messages can be received.
Trait Implementations§
source§impl Clone for RecvTimeoutError
 
impl Clone for RecvTimeoutError
source§fn clone(&self) -> RecvTimeoutError
 
fn clone(&self) -> RecvTimeoutError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for RecvTimeoutError
 
impl Debug for RecvTimeoutError
source§impl Display for RecvTimeoutError
 
impl Display for RecvTimeoutError
source§impl Error for RecvTimeoutError
 
impl Error for RecvTimeoutError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<RecvError> for RecvTimeoutError
 
impl From<RecvError> for RecvTimeoutError
source§impl PartialEq<RecvTimeoutError> for RecvTimeoutError
 
impl PartialEq<RecvTimeoutError> for RecvTimeoutError
source§fn eq(&self, other: &RecvTimeoutError) -> bool
 
fn eq(&self, other: &RecvTimeoutError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.