pub enum TryRecvError<T> {
Empty(Receiver<T>),
Closed,
}Expand description
We couldn’t receive a message.
Variants
Empty(Receiver<T>)
The Sender didn’t send us a message yet.
Closed
The Sender has dropped.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for TryRecvError<T>
impl<T> Send for TryRecvError<T>where
T: Send + Sync,
impl<T> Sync for TryRecvError<T>where
T: Send + Sync,
impl<T> Unpin for TryRecvError<T>
impl<T> !UnwindSafe for TryRecvError<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more