pub struct Queue<T> { /* private fields */ }
Expand description
Queue that is unlimited in size.
This queue implementation has the following characteristics:
- Based on
crossbeam_queue::SegQueue
- Has unlimitied capacity and no back pressure on push
- Enabled via the
unlimited
feature in yourCargo.toml
Implementations
Trait Implementations
sourceimpl<T> FromIterator<T> for Queue<T>
impl<T> FromIterator<T> for Queue<T>
sourcefn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for Queue<T>
impl<T> Send for Queue<T>where
T: Send,
impl<T> Sync for Queue<T>where
T: Send,
impl<T> Unpin for Queue<T>where
T: Unpin,
impl<T> !UnwindSafe for Queue<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more