Function npnc::unbounded::spsc::channel[][src]

pub fn channel<T>() -> (Producer<T>, Consumer<T>)

Returns a producer and consumer for an unbounded SPSC wait-free queue.