Struct std::sync::mpsc::mpsc_queue::Queue [] [src]

pub struct Queue<T> {
    head: AtomicPtr<Node<T>>,
    tail: UnsafeCell<*mut Node<T>>,
}

Fields

head
tail

Methods

impl<T> Queue<T>

fn new() -> Queue<T>

fn push(&self, t: T)

fn pop(&self) -> PopResult<T>

Trait Implementations

impl<T: Send> Sync for Queue<T>

impl<T: Send> Send for Queue<T>

impl<T> Drop for Queue<T>

fn drop(&mut self)