pub fn try_recv_all(&self, buf: &mut Vec<TrackedItem<U>>) {
        let pending = self.receiver.len();
        for _ in 0..pending {
            if let Ok(item) = self.receiver.try_recv() {
                buf.push(item);
            }
        }
    }
/// Try to receive all pending items from the queue.
Try to receive all pending items from the queue.
Try to receive all pending items from the queue .
pub fn try_recv_all(&self, buf: &mut Vec<TrackedItem<U>>) {
        let pending = self.receiver.len();
        for _ in 0..pending {
            if let Ok(item) = self.receiver.try_recv() {
                buf.push(item);
            }
        }
    }
pub fn try_recv_all ( & self , buf : & mut Vec < TrackedItem < U > > ) { let pending = self . receiver . len ( ) ; for _ in 0 .. pending { if let Ok ( item ) = self . receiver . try_recv ( ) { buf . push ( item ) ; } } }
Try to receive all pending items from the queue.
Try to receive all pending items from the queue .
&self
buf
&mut Vec<TrackedItem<U>>
&self
buf
&mut Vec<TrackedItem<U>>