Enum tchannel::ReceiveError
[−]
[src]
pub enum ReceiveError { Empty, Disconnected, }
The error returned by trying to receive a value.
Variants
Empty
The channel is empty, more values are possible.
Disconnected
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]
impl Copy for ReceiveError
[src]
impl Clone for ReceiveError
[src]
fn clone(&self) -> ReceiveError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more