pub trait JoinQueue<T: Send + 'static> {
type Sender: JoinSender<T> + Clone + Send + 'static;
type Receiver: JoinReceiver<T> + Send + 'static;
// Required method
fn split(self) -> (Self::Sender, Self::Receiver);
}Expand description
A bounded fan-in queue that can be split into a sender/receiver pair.