Skip to main content

par_count

Function par_count 

Source
pub fn par_count<F>(packets: &[Packet], predicate: F) -> usize
where F: Fn(&Packet) -> bool + Sync + Send,
Expand description

Count packets matching a predicate in parallel.