Enum tchannel::ReceiveError [] [src]

pub enum ReceiveError {
    Empty,
    Disconnected,
}

The error returned by trying to receive a value.

Variants

The channel is empty, more values are possible.

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

Trait Implementations

impl Debug for ReceiveError
[src]

[src]

Formats the value using the given formatter.

impl Copy for ReceiveError
[src]

impl Clone for ReceiveError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for ReceiveError
[src]

impl PartialEq for ReceiveError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.