pub struct NoRecv<T> {
pub message: T,
}
Expand description
The error of Sender::send
operation. Occurs if all receivers were
disconnected.
Fields
message: T
The message which was attempted to be sent.
Trait Implementations
impl<T: Copy> Copy for NoRecv<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for NoRecv<T>where
T: RefUnwindSafe,
impl<T> Send for NoRecv<T>where
T: Send,
impl<T> Sync for NoRecv<T>where
T: Sync,
impl<T> Unpin for NoRecv<T>where
T: Unpin,
impl<T> UnwindSafe for NoRecv<T>where
T: UnwindSafe,
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