Enum tokio::sync::oneshot::error::TryRecvError [−][src]
pub enum TryRecvError { Empty, Closed, }
This is supported on crate feature
sync
only.Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for TryRecvError
impl Send for TryRecvError
impl Sync for TryRecvError
impl Unpin for TryRecvError
impl UnwindSafe for TryRecvError