pub struct Producer<S> { /* private fields */ }Expand description
The producer half. Clone it for multiple producers.
Implementations§
Source§impl<S: Store> Producer<S>
impl<S: Store> Producer<S>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Producer<S>
impl<S> RefUnwindSafe for Producer<S>where
Arc<Shared<S>>: RefUnwindSafe,
impl<S> Send for Producer<S>
impl<S> Sync for Producer<S>
impl<S> Unpin for Producer<S>
impl<S> UnsafeUnpin for Producer<S>where
Arc<Shared<S>>: UnsafeUnpin,
impl<S> UnwindSafe for Producer<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