Struct dfqueue::mpsc_queue::MpscQueue
source · pub struct MpscQueue<T> { /* private fields */ }
Expand description
The multi-producer single-consumer structure. This is not cloneable, but it may be safely shared so long as it is guaranteed that there is only one popper at a time (many pushers are allowed).
Implementations§
Trait Implementations§
impl<T: Send> Send for MpscQueue<T>
impl<T: Send> Sync for MpscQueue<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for MpscQueue<T>
impl<T> Unpin for MpscQueue<T>
impl<T> UnwindSafe for MpscQueue<T>where T: RefUnwindSafe,
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