pub struct ChannelProducer<T> { /* private fields */ }Expand description
The publishing half. Clone it to publish from many tasks.
Trait Implementations§
Source§impl<T> Clone for ChannelProducer<T>
impl<T> Clone for ChannelProducer<T>
Source§impl<T> Debug for ChannelProducer<T>
impl<T> Debug for ChannelProducer<T>
Source§impl<T: Send + 'static> Producer<T> for ChannelProducer<T>
impl<T: Send + 'static> Producer<T> for ChannelProducer<T>
Auto Trait Implementations§
impl<T> Freeze for ChannelProducer<T>
impl<T> RefUnwindSafe for ChannelProducer<T>
impl<T> Send for ChannelProducer<T>where
T: Send,
impl<T> Sync for ChannelProducer<T>where
T: Send,
impl<T> Unpin for ChannelProducer<T>
impl<T> UnsafeUnpin for ChannelProducer<T>
impl<T> UnwindSafe for ChannelProducer<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