pub struct MpmcQueue<T> { /* private fields */ }
Expand description
Lock-free unbounded MPMC (Multi Producer Multi Consumer) queue Suitable for work-stealing and task distribution
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for MpmcQueue<T>
impl<T> RefUnwindSafe for MpmcQueue<T>
impl<T> Send for MpmcQueue<T>where
T: Send,
impl<T> Sync for MpmcQueue<T>where
T: Send,
impl<T> Unpin for MpmcQueue<T>where
T: Unpin,
impl<T> UnwindSafe for MpmcQueue<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