Enum tokio::sync::oneshot::error::TryRecvError [−][src]
pub enum TryRecvError {
Empty,
Closed,
}Error returned by the try_recv function on Receiver.
Variants
The send half of the channel has not yet sent a value.
The send half of the channel was dropped without sending a value.
Trait Implementations
impl Error for TryRecvError[src]
impl Error for TryRecvError[src]impl PartialEq<TryRecvError> for TryRecvError[src]
impl PartialEq<TryRecvError> for TryRecvError[src]