pub struct Consumer<S> { /* private fields */ }Expand description
The consumer half. Single consumer, so it does not implement Clone.
Implementations§
Auto Trait Implementations§
impl<S> Freeze for Consumer<S>
impl<S> RefUnwindSafe for Consumer<S>where
Arc<Shared<S>>: RefUnwindSafe,
impl<S> Send for Consumer<S>
impl<S> Sync for Consumer<S>
impl<S> Unpin for Consumer<S>
impl<S> UnsafeUnpin for Consumer<S>where
Arc<Shared<S>>: UnsafeUnpin,
impl<S> UnwindSafe for Consumer<S>where
Arc<Shared<S>>: UnwindSafe,
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