Enum tokio::sync::mpsc::error::TryRecvError [−][src]
pub enum TryRecvError {
Empty,
Disconnected,
}
This is supported on crate feature
sync
only.Expand description
Error returned by try_recv
.
Variants
Empty
This channel is currently empty, but the Sender(s) have not yet disconnected, so data may yet become available.
Disconnected
The channel’s sending half has become disconnected, and there will never be any more data received on it.
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
Blanket Implementations
Mutably borrows from an owned value. Read more