pub struct Queue<T: Send + 'static> { /* private fields */ }Expand description
A simple in-process work queue with bounded concurrency.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for Queue<T>
impl<T> Freeze for Queue<T>where
UnboundedSender<T>: Freeze,
impl<T> Move for Queue<T>
impl<T> RefUnwindSafe for Queue<T>where
UnboundedSender<T>: RefUnwindSafe,
impl<T> Send for Queue<T>where
UnboundedSender<T>: Send,
impl<T> Sync for Queue<T>where
UnboundedSender<T>: Sync,
impl<T> Unpin for Queue<T>where
UnboundedSender<T>: Unpin,
impl<T> UnsafeUnpin for Queue<T>where
UnboundedSender<T>: UnsafeUnpin,
impl<T> UnwindSafe for Queue<T>where
UnboundedSender<T>: UnwindSafe,
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