/// Permanently excludes from iteration the next queue (i.e. all messages
/// with the same sender and receiver as the next message). The mesages are
/// retained in the output queue.
///
/// Returns the number of messages left in the excluded queue.
Permanently excludes from iteration the next queue . The mesages are
retained in the output queue.

Returns the number of messages left in the excluded queue.
Permanently excludes from iteration the next queue . The mesages are retained in the output queue . Returns the number of messages left in the excluded queue .
pub fn exclude_queue(&mut self) -> usize {
        let ignored = self
            .queues
            .pop_front()
            .map(|(_, q)| q.num_messages())
            .unwrap_or_default();
        self.size -= ignored;
        debug_assert_eq!(Self::compute_size(&self.queues), self.size);
        ignored
    }
pub fn exclude_queue ( & mut self ) -> usize { let ignored = self . queues . pop_front ( ) . map ( | ( _ , q ) | q . num_messages ( ) ) . unwrap_or_default ( ) ; self . size -= ignored ; debug_assert_eq ! ( Self compute_size ( self queues ) self size ) ; ignored }
Permanently excludes from iteration the next queue (i.e.
Permanently excludes from iteration the next queue ( i . e .
&mut self