pub enum TryRecvError<T> {
Empty(Receiver<T>),
Closed,
}
Expand description
We couldn’t receive a message.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TryRecvError<T>
impl<T> !RefUnwindSafe for TryRecvError<T>
impl<T> Send for TryRecvError<T>
impl<T> Sync for TryRecvError<T>
impl<T> Unpin for TryRecvError<T>
impl<T> !UnwindSafe for TryRecvError<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more