pub struct UnboundedQueue<T> { /* private fields */ }Expand description
Unbounded Michael & Scott queue - use when you can’t specify a capacity A lock-free unbounded queue
Implementations§
Trait Implementations§
impl<T: Send> Send for Queue<T>
impl<T: Send> Sync for Queue<T>
Auto Trait Implementations§
impl<T> !Freeze for Queue<T>
impl<T> RefUnwindSafe for Queue<T>
impl<T> Unpin for Queue<T>
impl<T> UnwindSafe for Queue<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