TryRecvError

Type Alias TryRecvError 

Source
pub type TryRecvError = TryRecvError;

Aliased Type§

pub enum TryRecvError {
    Empty,
    Disconnected,
}

Variants§

§1.0.0

Empty

This channel is currently empty, but the Sender(s) have not yet disconnected, so data may yet become available.

§1.0.0

Disconnected

The channel’s sending half has become disconnected, and there will never be any more data received on it.