pub fn stats() -> StatsExpand description
A snapshot of the counters of every shard alive in the process and of
the blocking pools. See Stats.
let stats = nuclei::stats();
for shard in &stats.shards {
println!("{:?}: {} tasks, {} polls", shard.worker, shard.tasks, shard.polls);
}