queue

Function queue 

Source
pub fn queue<T: Send + 'static>() -> (Sender<T>, Receiver<T>)