Enum tchannel::oneshot::ReceiveError [] [src]

pub enum ReceiveError<T> {
    Empty(Receiver<T>),
    Disconnected,
}

The error returned by trying to receive a value.

Variants

The channel is currently empty, try again later.

The channel is empty and the sending side of the channel is disconnected, which means that no value is coming.

Trait Implementations

impl<T: Debug> Debug for ReceiveError<T>
[src]

[src]

Formats the value using the given formatter.