Enum cursive::reexports::crossbeam_channel::TryRecvError [−][src]
pub enum TryRecvError {
Empty,
Disconnected,
}
Expand description
An error returned from the try_recv
method.
Variants
Empty
A message could not be received because the channel is empty.
If this is a zero-capacity channel, then the error indicates that there was no sender available to send a message at the time.
Disconnected
The message could not be received because the channel is empty and disconnected.
Implementations
Trait Implementations
Performs the conversion.
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
Calls the given closure and return the result. Read more
Calls the given closure on self
.