pub enum QueueType<T> {
Segmented(SegQueue<T>),
Array(ArrayQueue<T>),
}
Variants§
Segmented(SegQueue<T>)
Array(ArrayQueue<T>)
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for QueueType<T>
impl<T> RefUnwindSafe for QueueType<T>
impl<T> Send for QueueType<T>where
T: Send,
impl<T> Sync for QueueType<T>where
T: Send,
impl<T> Unpin for QueueType<T>where
T: Unpin,
impl<T> UnwindSafe for QueueType<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