Enum crossbeam_channel::RecvTimeoutError [−][src]
pub enum RecvTimeoutError { Timeout, Disconnected, }
Expand description
An error returned from the recv_timeout
method.
Variants
A message could not be received because the channel is empty and the operation timed out.
If this is a zero-capacity channel, then the error indicates that there was no sender available to send a message and the operation timed out.
The message could not be received because the channel is empty and disconnected.
Implementations
Returns true
if the receive operation timed out.
Returns true
if the receive operation failed because the channel is disconnected.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RecvTimeoutError
impl Send for RecvTimeoutError
impl Sync for RecvTimeoutError
impl Unpin for RecvTimeoutError
impl UnwindSafe for RecvTimeoutError
Blanket Implementations
Mutably borrows from an owned value. Read more