pub struct Consumer<T> { /* private fields */ }Expand description
The receiving half. Send (move to the consumer thread); only this half pops.
Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Consumer<T>
impl<T> !UnwindSafe for Consumer<T>
impl<T> Freeze for Consumer<T>
impl<T> Send for Consumer<T>where
T: Send,
impl<T> Sync for Consumer<T>where
T: Send,
impl<T> Unpin for Consumer<T>
impl<T> UnsafeUnpin for Consumer<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