pub struct MpscProducer { /* private fields */ }Expand description
A single producer handle. Sole writer to one underlying SPSC
ring; !Sync + !Clone + Send so the compiler enforces that one
thread owns one producer handle.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MpscProducer
impl !Sync for MpscProducer
impl !UnwindSafe for MpscProducer
impl Freeze for MpscProducer
impl Send for MpscProducer
impl Unpin for MpscProducer
impl UnsafeUnpin for MpscProducer
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